ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Network Edition


Appendix A Command-Line Utilities > zmarchivesearch

zmarchivesearch
This command is used to search across account archives. You can search for archives that match specific criteria and save copies to a directory.
Syntax
zmarchivesearch {-m <user@domain.com>} {-q <query_string>} [-o <offset>] [-l <limit>] [-d <output_directory>]
Description
 
Short Name
<arg> Directory to write messages to. If none is specified, then only the headers are fetched. Filenames are generated in the form
RESULTNUM_ACCOUNT-ID_MAILITEMID
<arg> Sets the limit for the number of results returned. The default is 25
Allows printing of status messages while the search is being executed
Example
This example is to search archives on a specified server and put a copy of the archive in a specified directory.
zmarchivesearch -m user1@yourdomain.com -q “in:sent” -o 0 -l 30 -d /var/tmp
Copyright © 2012 VMware Inc.