PDA

View Full Version : REDline and a loop



Marcus Vasques Osorio
04-29-2008, 01:41 AM
It is as simple as this:

I find the r3d files with find finder items in automater (files x y z) then I get automater to run this line in terminal????

But how do I run this line in terminal???

REDline -i file X --format 10 --QTsize 1 --QTdir proxy/ --iso 2000 --contrast -1.0

REDline -i file Z --format 10 --QTsize 1 --QTdir proxy/ --iso 2000 --contrast -1.0

REDline -i file Y --format 10 --QTsize 1 --QTdir proxy/ --iso 2000 --contrast -1.0

how do I get this command to go recursively througha file system??? In other words I want all the R3D files in this folder and subfolder to be effected...

Not new to programming bu new to mac :-)

mahvo

Dustin Cross
05-12-2008, 09:22 PM
I can't figure out Automator to save my life, but if you want to just use command line. Go to your .RDC directory in Terminal and run this:

for FILE in */*.R3D ; do redline --format 10 --QTsize 1 --QTdir proxy/ --iso 2000 --contrast -1.0 ; echo "for $FILE" ; done

Hope that helps.


Mahalo,
Dusty