...
Arguments
- Generic Switches
-download
: run the CLI Data Mover to execute a download-upload
: run the CLI Data Mover to execute an upload-follow-symlinks
: if uploading, will attempt to resolve symbolic links-help
: print out all help-info
: print out information about the shareable you are working with-mkdir
: if doing a download, and the parent directory does not exist, create it-v
: display additional information (verbose) as the transfer proceeds-version
: display the version and exit-watch
: allow the upload shareable to keep watching the upload source directory for any changes
- History Related Switches.
- The GUI version helps you manage (inspect, download csv, delete) your upload/download tasks (every execution is a stored task). So there are some CLI switches to help with this. However, please note that execution of the CLI form of the
Data Mover
does not generate new history entries (if completed). It will generate new entries if the task is incomplete (hence the switches history.resume and history.retry). Otherwise, the other history switches pertain to pre-existing history entries generated by the GUI version. The switches are
-history.completed.all.delete
: delete all history entries-history.delete
: delete a specified history entry-history.describe
: describe all previous transfers.-history.list
: list all previous transfers.-history.resume
: resume execution of an incomplete history entry.-history.retry
: retry failed execution of an incomplete history entry.
- The GUI version helps you manage (inspect, download csv, delete) your upload/download tasks (every execution is a stored task). So there are some CLI switches to help with this. However, please note that execution of the CLI form of the
- Options
-exists [Value]:
what to do if the target directory on download pre-exists. Choose from one of [rename, update, overwrite, skip, fail]- -csv [Path]: If specified, the full path to a CSV file report of the upload/download
- -settings [Path] : Path to
Data
Mover
settings file (defaults to $HOME/.Arcitecta/DataMover) -upload-args
: A semi-colon separated set of arguments required for upload.- These are deployment specific, however, for University of Melbourne instrument operators with an instrument upload shareable, the standard upload arguments are
share-with
(the email address of the person who receives an email with URLs to download their data),keywords
(set on the manifest upload asset), name-suffix
(appended to the transactional namespace name), email-subject-suffix (this is only available if your shareable has explicitly been enabled with email-subject-suffix) and data-note (note about the data being uploaded included in the email to the recipient user. This is only available if your shareable has explicitly been enabled with data-note).
Examples are as follows (note the double quotes):- -upload-args "share-with=santa.claus@northpole.com;keywords=fish,carp;name-suffix=aquatic"
- -upload-args "share-with=santa.claus@northpole.com;keywords=fish,carp;name-suffix=aquatic;email-subject-suffix=GOOD"
- -upload-args "share-with=santa.claus@northpole.com;keywords=fish,carp;name-suffix=aquatic;email-subject-suffix=GOOD;data-note=this is a test"
- These are deployment specific, however, for University of Melbourne instrument operators with an instrument upload shareable, the standard upload arguments are
- Token
- The
Token
(or shareable) is supplied to you by somebody (it's a long string) and is required for uploads and downloads, but not for any of thehistory.*
switches.
- The
Argument
depends on the switches as follows- If switch
-upload
is given the value of Argument is the source path of the data to upload and the Token is required - If switch
-download
is given the value of Argument is the target path for the download and the Token is required - If switch
-history.completed.all.delete
is given the value of Argument is 'yes' (to confirm) and Token is omitted. - If switch
-history.delete
is given the value of Argument is the ID of the entry you want to delete and Token is omitted - If switch
-history.list
is given the values of Argument and Token are omitted - If switch
-history.describe
is given the value of Argument is the ID of the entry you want to describe and Token is omitted.
- If switch
...