Description
This command lists the names of the drives under a specified library. Whenever more than one drive is found, the name of each drive is listed in its own line on the command prompt. No message is displayed whenever drives are not found.
In case of an error, an error code and description are displayed as: "drive: Error errorcode: errordescription"
Usage
qlist drive -l <library> [-tf <tokenfile>] [-tk <token>] [-h]
Options
-l |
Media library name |
-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
List all the drives configured in a library named library1.
E:\commandline>qlist drive -l library1
drive1
drive2