Return to Snippet

Revision: 50147
at August 12, 2011 12:43 by sq1labs


Initial Code
cd sourcepath

find . -maxdepth 4 -type f -name "*.mov" -print0 | xargs -0 -I MYFILES /Applications/Compressor.app/Contents/MacOS/Compressor -clustername "mymachine cluster" -batchname "MYFILES" -jobpath MYFILES -settingpath /Applications/Compressor.app/Contents/Resources/Settings/ProRes/proResHQName.setting -destinationpath /destpath/MYFILES -timeout 5

Initial URL


Initial Description
cd into sourcepath directory and then run command. destpath must have same tree structure as sourcepath
 
Crawls a directory and submits all .mov files encountered to Compressor command line, needs same tree structure at destination (Compressor 4) - example is prores hq setting

Initial Title
Apple Compressor Command Line Batch Submission

Initial Tags


Initial Language
Bash