Main Menu

Speeding up the process

Started by evilaro, October 15, 2012, 06:31:10 PM

Previous topic - Next topic

evilaro


Hi:

I use this type of code to extract the orientation.

      run(false, 'exiftool.exe -orientation "&Mfile"  > resul.txt   ')         

Since I need to do it one image at a time, not a whole directory.

I do a loop, changing the value of Mfile
It works but it takes a long time plus keeps openning the DOS window all the time.

I have tried the  -execute     or  the      -stay_open
like this...

      run(false, 'exiftool.exe -orientation  -stay_open "&Mfile"  > resul.txt   ')         

But it is not working.

Any Ideas?

Thanks

Emilio



www.evilfoto.eu
*************

Phil Harvey

The -stay_open option works in conjunction with the -@ option.

The idea is that you can speed things up if you can run exiftool only once.  You'll find lots of examples in the forum.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).