[Originally posted by darryl on 2008-04-16 22:21:45-07]Hi Phil:
I've got a Perl script that's making a call to the exiftool command-line because I'm too lazy to extract the info just to make a SetFileName call. Also, by calling exiftool externally, I can run in parallel! (Ew!)
Anyways, this command-line is failing for me:
$command = 'exiftool -q -d %Y%m%d_%H%M%S-%%c.%%e "-filename<DateTimeOriginal" '."tmp/$file" ;
Note that the syntax is slightly different than what you have in your
documentation:
exiftool -d %Y%m%d_%H%M%%-c.%%e "-filename<CreateDate" DIR
Is that hyphen in the right place? Shouldn't it be before the %%?
At any rate, I end up with a file named: 20080306_104855-%c.jpg
:-{