Parsing tags for sorting in subdirectories

Started by fred_76, July 22, 2010, 06:17:05 AM

Previous topic - Next topic

fred_76

Hello,

I want to move my files in subdirectories defined from the ISO, the exposure time and the camera temperature tags.

I tried this command but it does not work... what did I do wrong :

>exiftool -o dummy/ -directory=$iso\$exposuretime\$cameratemperature DIR

This command moves the files stored in DIR in the directories called "$iso", sub directory "$exposuretime", sub sub "$cameratemperature" but without taking into account the values stored in the files...

For example if I have a pic at 100 ISO, 60 sec, and 26°C it should be stored in the directory :

100\60\26



Fred

Phil Harvey

Hi Fred,

You must use "<" instead of "=" when copying tag values.

- 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 ($).

fred_76

Thank you Phil for your answers. ...and it works  ;)