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:

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

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

-p  -iso32000 /appligent/stampbatch/samples/stampfile1.txt -o /appligent/stampbatch/samples/out_sample1.pdf  /appligent/stampbatch/samples/sample1.pdf
-p  -optimize /appligent/stampbatch/samples/stampfile2.txt -o /appligent/stampbatch/samples/out_sample2.pdf  /appligent/stampbatch/samples/sample2.pdf
-p  -w /appligent/stampbatch/samples/stampfile3.txt -o /appligent/stampbatch/samples/out_sample3.pdf  /appligent/stampbatch/samples/sample3.pdf