[Originally posted by exiftool on 2008-12-28 12:35:51-08] exiftool -d %y%m%d-%%-4f.%%e "-filename<datetimeoriginal" FILE
where
FILE is one or more file or directory names.
The %%-4f takes the last 4 characters of the filename.
I suggest adding the
-v option when you run this command
so you can see what files have been renamed to what.
- Phil