Execute Command Output Settings

Post Reply
mfinlay
Newbie
Posts: 1
Joined: Fri Aug 12, 2011 2:59 am

Execute Command Output Settings

Post by mfinlay » Fri Aug 12, 2011 4:44 am

Hi All



I have written a Bash Shell Script to do the following:



1.) Process a PDF File using PDFToolBox CLI, saving a customised log and creating a report on error status.

2.) Duplicate this version of the file to a "SUCCESS" folder.

3.) Process the file again using a different PDFToolBox Profile to create a Lowres PDF version, adding to the previous log and generating a report only if the file errors.

4.) Move the Lores PDF File to a "LORES" folder.



After the scripts completion i should end up with a Hires PDF, a Lores PDF and a log file that contains information on both as well as some other custom reports etc...



Unfortunately i keep getting unexpected results and I think that it is due to my "Output" settings.

I have been experimenting with different options but I have not been able to find a way to simply execute a command with %1,%2 %3 arguments and let the script manage the rest...



Can anyone point me in the right direction with this?

Post Reply