This project has moved and is read-only. For the latest updates, please go here.
Command line support for exporting, importing or deleting File Meta metadata properties is provided by FileMeta.exe (installed in the program files folder 'File Metadata').

Here are some examples of how to use it:

FileMeta.exe -e -x=props.xml myfile.txt
FileMeta.exe -i -x=props.xml mynewfile.txt
will export the properties from myfile.txt to an XML file called props.xml, then import them again to a file called mynewfile.txt

FileMeta.exe -e -f=xml *.txt
will export metadata for all text files in the current working directory to a subfolder called xml (this folder must already exist).

FileMeta.exe -d myfile.txt
will remove all metadata from myfile.txt

FileMeta.exe -ec myfile.txt
will display all metadata properties of myfile.txt on the console

A good place to look for examples of its use in batch files is the test script, which you can find in the sources at CommandLine\CommandLineTest\runtests.cmd

Here is the full set of options:

FileMeta {-d|-i|-e} [-c] [-f=<directory name>] [-x=<file name>] [-p]
[--] [--version] [-h] <file name> ...


-d, --delete
(OR required) Remove all metadata from file
-- OR --
-i, --import
(OR required) Import metadata from XML
-- OR --
-e, --export
(OR required) Export metadata to XML

-c, --console
Output XML to console instead of file (only valid for --export)

-f=<directory name>, --folder=<directory name>
Directory for XML files (default is same directory as target file)

-x=<file name>, --xml=<file name>
Name of XML file (only valid if one target file)

-p, --prompt
After execution, prompt to continue

--, --ignore_rest
Ignores the rest of the labelled arguments following this flag.

Displays version information and exits.

-h, --help
Displays usage information and exits.

<file name> (accepted multiple times)
(required) Names of target files. The usual wildcards (*, ?) are supported

Last edited Sep 29, 2016 at 11:03 AM by Dijji, version 3


No comments yet.