Hi,

I am familiarizing myself with Fedora Commons and thus followed the
batch ingest demo instructions on the Wiki. Since I prefer command line
interfaces, I used the shell scripts in ${FEDORA_HOME}/client/bin and
came across a minor issue - the help message of fedora-batch-ingest.sh
is incomplete:

fedora@fedora-exploration:~/fedora-commons/client/demo/batch-demo$ 
../../bin/fedora-batch-ingest.sh --help
ERROR: Invalid number of arguments:

Command: fedora-batch-ingest
Syntax:
  fedora-batch-ingest object-directory log-filepath log-format host:port user 
password protocol [context]

  Where:
   object-directory - the full path to the directory containing the objects to 
be ingested
   log-filepath     - the full path to the file where logs will be written
   log-format       - the format of the log file. Valid values are text or xml
   host:port        - the hostname and port of the target Fedora server
   user             - the Fedora administrator username (e.g., fedoraAdmin)
   password         - the password for the Fedora administrator user
   protocol         - the protocol to communicate with Fedora server, either 
http or https.
   context          - an _optional_ parameter indicating the webapp context. 
This is only necessary if the Fedora server was installed under a context name 
other than 'fedora'.

It misses the required format parameter between log-format and 
host:port. The documentation at [1] is up-to-date.

Cheers,
Christoph

[1] https://wiki.duraspace.org/display/FEDORA35/fedora-batch-ingest

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to