[Originally posted by cocker68 on 2008-05-30 09:22:45-07]
Hi,
how can I use the original filename, when renaming a file?
Currently I use
exiftool -overwrite_original_in_place '-FileName<CreateDate' -d %Y%m%d-%H%M%S%%-c.%%e IMG_3390.jpg
to get 20080302-134126.jpg, but I'd like to get 20080302-134126-IMG_3390.jpg
Thanks
- Cocker :wq
[Originally posted by exiftool on 2008-05-30 10:28:06-07]
Hi Cocker,
Try this:
exiftool -overwrite_original_in_place '-FileName<${CreateDate}-$FileName' -d %Y%m%d-%H%M%S%%-c IMG_3390.jpg
- Phil
[Originally posted by cocker68 on 2008-05-30 10:57:21-07]
Thanks, Phil!
So easy... :-)
- Cocker :wq