6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
MDexport
Saves custom metadata for a file system.
Description
Use the perl script MDExport to save, or export, metadata that is stored only in the Express
Query data base and not in the files themselves. You can then use the file later on to import the
metadata with the GUI or the MDimport command.
Synopsis
Save custom metadata to a CSV file:
MDExport.pl [--help|?] --dbconfig <xml> --database <dbname> --outputfile
<fname> [--user <username>] [--verbose]
Use perl to invoke MDexport. For example:
perl /usr/bin/Metabox/scripts/MDExport.pl --database ibrixFS --user
ibrix --dbconfig /usr/local/Metabox/scripts/startup.xml --output
/home/mydir/save.csv
This command exports metadata from the ibrixFS file system and generates the output file
save.csv in the /home/mydir directory. The CSV file contains attributes from the table
AttributeKeyValue.
Options
DescriptionOption
Specifies the database containing the metadata. <dbname> is the name of the file
system.
--database <dbname>
Specifies the metadata configuration file.--dbconfig <xml>
Specifies the CSV output file used to save the metadata.--outputfile <fname>
The username for accessing the database.--user <username>
Shows the usage for this command.-?
See also
MDimport
214 StoreAll commands