Thread

Posted on Mon Aug 25 09:03:08 2008 by raoulj
Can't get formated date in .BAT file. What's wrong ?
Hello, I'm a newbie using EXIFTool for windows 7.39 (exe). I want to batch rename a set of Canon CR2 files to a directory structure like \$model \$createdate "%Y%m%d" \files with their original names I first try to format a date and it doesn't work. exiftool -r -DateTimeOriginal -d "%%Y%%m%%d" dcim\%1 (where %1 is the sub directory name, usually "100eos1d") I tried with and without "" around -d, with and without space between -d and format, and with several options regarding the number of "%" In some cases, it tells me "no file", in the given case, it shows DateTimeOriginal but withuot the format. What's wrong ? Can someone help me here ? Next step will be the rename operation itself... Thanks Raoul
Direct Responses: 8667 | Write a response
Posted on Mon Aug 25 13:44:02 2008 by exiftool in response to 8665
Re: Can't get formated date in .BAT file. What's wrong ?
Hi Raoul,

This is my fault. The -p option was broken in the exe version of 7.39. Try downloading 7.40.

- Phil
Direct Responses: 8671 | Write a response
Posted on Mon Aug 25 20:28:14 2008 by raoulj in response to 8667
Re: Can't get formated date in .BAT file. What's wrong ?
That's indeed much better ! Thanks. Raoul
Write a response