ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: fred_76 on July 22, 2010, 06:17:05 AM

Title: Parsing tags for sorting in subdirectories
Post by: fred_76 on July 22, 2010, 06:17:05 AM
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
Title: Re: Parsing tags for sorting in subdirectories
Post by: Phil Harvey on July 23, 2010, 07:27:38 AM
Hi Fred,

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

- Phil
Title: Re: Parsing tags for sorting in subdirectories
Post by: fred_76 on July 23, 2010, 08:51:35 AM
Thank you Phil for your answers. ...and it works  ;)