Image-ExifTool - Re: Rename using path's last dirname as prefix

Posted on Tue Feb 6 07:24:36 2007 by pdi in response to 4245 (See the whole thread of 4)
Re: Rename using path's last dirname as prefix

Phil,

Tricky it was, but so glad it was also possible. Many thanks for your time and your fast reply.

I used "%c" as a part of a DateTimeOriginal file naming scheme. With your help, the final command line is as follows:

exiftool -r "-filename<DateTimeOriginal" -d "%%-.1d_%y%m%d_%%.3c.%%e" "-directory=%d" dirname

This works like a charm, and lightning fast too :-)

Cheers,

pdi

Write a response