Description
This command exports one or more media from a library. If there are multiple media, they should be separated by a comma.
In case of an error, an error code and description are displayed as: "media: Error errorcode: errordescription"
Usage
qoperation media -o $[export] -b $[barcode(s)] -l $[library] -el $[exportlocation] -m $[MediAgent] [-v] [-tf $[tokenfile]] [-tk $[token]] [-h]
Options
|
-o |
Operation to be performed on the media |
|
-b |
Barcode list (separate each barcode with a comma) |
|
-l |
Library name |
|
-el |
Export location name |
|
-m |
MediaAgent name |
|
-v |
Verify OML before export (0/1) |
|
-tf |
Reads token from a file |
|
-tk |
Token string |
|
-h |
Displays help |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
Export media.
E:\commandline>qoperation media -o $[export] -b $[127126] -l $[lib1] -el $[loc1] -m $[med1] -v $[1]