The -cmds  option allows you to process a collection of files at one time

To process multiple commands quickly and efficiently, use the -cmds <filename> option.  The file specified by -cmds, the commands file, should contain one or more single line commands.  Each command is just like an ordinary command-line without the executable name. The commands file does not support wildcards in filenames. The following is an example of command line syntax when running with -cmds:

$ ./apgetinfo -p -l logfile.txt -cmds CommandFile.txt

CommandFile.txt contains a list of commands for APGetInfo to process.  This is an example of the CommandFile.txt:

-d userpass -info /Appligent/APGetInfo/samples/ApUtilsSampleEnc.pdf
-bookmark -count /Appligent/APGetInfo/samples/ApUtilsSample.pdf
-annot -color /Appligent/APGetInfo/samples/ApUtilsSample.pdf