The query archive command displays a list of your archived files and the following information about each file: file size, archive date, file specification, expiration date, and archive description.
The following show sample output from the detail option.
Size Archive Date - Time File - Expires on - Description
---- ------------------- -------------------------------
219 B 09/03/2009 09:32:13 /Volumes/Data/info.txt 09/03/2010
Archive Date: 09/03/2009
RetInit:STARTED Obj
Held:NO
Modified: 09/02/2009 19:43:00 Accessed: 09/03/2009 09:31:23 Inode changed: 09/02/2009 19:43:00
Compressed: NO Encryption Type: None
Client-deduplicated: NO
Size Archive Date - Time File - Expires on - Description
---- ------------------- -------------------------------
219 B 09/03/2009 09:32:13 \\halley\m$\tsm620c.0901fa\debug\bin\
winnt_unicode\dsm.opt 09/03/2010
Archive Date: 09/03/2009
RetInit:STARTED Obj
Held:NO
Modified: 09/02/2009 19:43:00 Created: 09/01/2009 15:31:23
Compressed: NO Encryption Type: None
Client-deduplicated: NO
This command is valid for all clients.
>>-Query ARchive--+------------+--------------------------------> '- --options-' >--+- --filespec----------------------+--+- --filespec---+----->< '- --{--filespacename--}--filespec-' '- --"filespec"-'
If you include filespacename, do not include a drive letter in the file specification. Drive label names are only used for removable media.
Option | Where to use |
---|---|
dateformat | Client options file (dsm.opt) or command line. |
dateformat | Client user-options file (dsm.opt) or command line. |
description | Command line only. |
detail | Command line only. |
dirsonly | Command line only. |
filelist | Command line only. |
filesonly | Command line only. |
fromdate | Command line only. |
fromnode | Command line only. |
fromowner | Command line only. |
fromtime | Command line only. |
numberformat | Client options file (dsm.opt) or command line. |
numberformat | Client user-options file (dsm.opt) or command line. |
querysummary | Command line only. |
scrolllines | Client options file (dsm.opt) or command line. |
scrolllines | Client user-options file (dsm.opt) or command line. |
scrollprompt | Client options file (dsm.opt) or command line. |
scrollprompt | Client user-options file (dsm.opt) or command line. |
subdir | Client options file (dsm.opt) or command line. |
subdir | Client user-options file (dsm.opt) or command line. |
timeformat | Client options file (dsm.opt) or command line. |
timeformat | Client user-options file (dsm.opt) or command line. |
todate | Command line only. |
totime | Command line only. |
Command: q archive "*"
Command: q ar c:\proj\*
Command: query archive "/devel/*" -subdir=yes
Command: query archive c:\ -su=y -descr="January Ledgers"
Command: q ar –date=5 –time=1 "*"
Command: q ar –date=5 –time=4 c:\proj\*
Command: q ar -detail "*"
Command: q ar -detail c:\dir1\*
Command: q ar –date=5 –time=4 c:\proj\*.dev
Command: q ar {store}\proj\*
Command: q ar {docs}\*
Command: q ar "/home/proj/proj*"