However I'm trying to run the following command using parallel passing in the file name. This command works at the command line
sh configuration/run-calabash-withParam.sh configuration/Createi4EnrichMarkup-Template-ConvertedToParameterDrivenFile.xpl logs/ProcessTestLog.txt /mnt/xslt_volume/i4ContentSource/578/AgilentTechnologiesInc_CIK0001090872_10312009_12212009_1__CS_H16_T37.zip
Running like so for parallel: ls /mnt/xslt_volume/i4ContentSource/578/*.zip | parallel -j+0; 'sh configuration/run-calabash-withParam.sh configuration/Createi4EnrichMarkup-Template-ConvertedToParameterDrivenFile.xpl logs/ProcessTestLog.txt {}'
Which gets a Permission Denied Error and does not run effectively:
/bin/bash: /mnt/xslt_volume/i4ContentSource/578/AgilentTechnologiesInc_CIK0001090872_10312009_12212009_1__CS_H16_T37.zip: Permission denied
bash: sh configuration/run-calabash-withParam.sh configuration/Createi4EnrichMarkup-Template-ConvertedToParameterDrivenFile.xpl