Dir
Commands shows directories or file version stored on backup servers.
java -jar cli.jar dir --path=\\opero_agent\\Client\\client.jar --long-format
F | \opero_agent\Client\client.jar | R | 2013-01-14 10:20:12 | c6ff0019-9ed5-41d1-b582-baffc5fc9f20 | 2013-01-14 10:20:12 | 1605164
F | \opero_agent\Client\client.jar | R | 2013-01-14 10:20:12 | acdcc334-4717-45bf-b017-61653ae03470 | 2013-01-14 10:20:12 | 1605164
Long file version format
The long file version displays the results in the following format:
type|path|backup method|date modified|GUID|date created|size in bytes|description
The type indicator possible values :
- F - File
- D - Directory
The backup method indicator possible values:
- R - Regular
- P - Partial
- D - Differential
- I - Incremental
For a single-directory listing, the name tag only contains the name of a file or directory and not contains the path. For a recursive directory listing the name contains the relative full path.
The size of a file will be displayed in bytes. The date created and date modified display the date when a file has been created or modified. The date format for files is YYYY-MM-DD hh:mm:ss. The GUID defines the file version.
Examples
The request to display the 'opero_agent\Client' directory for briefcase:
java -jar cli.jar dir --path=\\opero_agent\\Client\\client.jar --long-format
F | \opero_agent\Client\client.jar | R | 2013-01-14 10:20:12 | c6ff0019-9ed5-41d1-b582-baffc5fc9f20 | 2013-01-14 10:20:12 | 1605164
F | \opero_agent\Client\client.jar | R | 2013-01-14 10:20:12 | acdcc334-4717-45bf-b017-61653ae03470 | 2013-01-14 10:20:12 | 1605164
With --recursive option:
java -jar cli.jar dir --path=\\opero_agent\\Client --long-format --recursive
F | client-with-logging.sh | R | 2013-01-14 10:20:12 | 26bdad8d-c2aa-4771-86af-e54be3f2997b | 2013-01-14 10:20:12 | 123 | rwxr-xr-x | u: tim | g: tim
F | client.jar | R | 2013-01-14 10:20:12 | c6ff0019-9ed5-41d1-b582-baffc5fc9f20 | 2013-01-14 10:20:12 | 1605164
F | config\logging.propeties | R | 2013-01-14 10:20:12 | d6f680f5-ca0b-4e04-98b5-b18dbed374f9 | 2013-01-14 10:20:12 | 142
F | whitelabel.jar | R | 2013-01-16 09:51:48 | de504389-1d89-407b-a55f-a2fb483708e1 | 2013-01-16 09:51:48 | 17431
For file versions:
java -jar cli.jar dir --path=\\opero_agent\\Client\\client.jar --long-format
F | \opero_agent\Client\client.jar | R | 2013-01-14 10:20:12 | c6ff0019-9ed5-41d1-b582-baffc5fc9f20 | 2013-01-14 10:20:12 | 1605164
F | \opero_agent\Client\client.jar | R | 2013-01-14 10:20:12 | acdcc334-4717-45bf-b017-61653ae03470 | 2013-01-14 10:20:12 | 1605164
Short format file version
The short version displays the results in the following format:
<type>|<name>
The type indicator possible values:
- F - File
- D - Directory
For a single-directory listing, the name tag only contains the name of a file or directory and not contains the path. For a recursive directory listing the name contains the relative full path.
Comments
0 comments
Please sign in to leave a comment.