You can now perform Browse operations using Command Line interface. The input is taken from an XML file and the output is entered in another XML file.
Procedure
The following procedure is an example of browsing data using filters such as file name and file type using a command line XML.
-
Download the input_filter.xml file and save it on the computer from where the command will be run.
-
Modify the XML template as per your setup.
The following example lists the mandatory elements and sample values.
<databrowse_BrowseRequest opType="$[Browse]"> <entity type="$[0]" subclientName="" commCellId="$[2]" clientName="$[imindexing33]" backupsetName="$[commandline]" appName="$[Windows File System]"/> <mode mode="$[2]"/> <paths path="$[E:\superbrowse\SC2\Entitysearchfiles\Amex\]"/> <options restoreIndex="$[true]"/> <queries type="$[DATA]" queryId="$[0]"> <whereClause connector="$[AND]"> <criteria field="$[FileName]" dataOperator="$[LIKE]"><values val="$[*.txt]"/> </criteria> </whereClause> </queries> <user userName="$[admin]"/> <advOptions copyPrecedence="$[0]"/> </databrowse_BrowseRequest> -
Change the XML element values.
-
Run the following command from the software_installation_directory/Base folder.
Make sure to provide the name and path of the output xml file in which you want to retrieve your browse results.
qlist backupfiles -af input_filter.xml -dpath $[output_template.xml]
-
Verify the results in the output_filter.xml.