[Nottingham] Bash - extract date and time from jpg file

Camilo Mesias camilo at mesias.co.uk
Wed Feb 25 14:11:51 UTC 2009


Hi,

You can use jhead with the -n option.

See 'man jhead'

"Rename files according to date.  Uses exif date if present, file date
otherwise.  If the optional format-string is not supplied, the format
is mmdd-hhmmss."

If that's unpleasant you could use exifdump.py or something similar.

-Cam



More information about the Nottingham mailing list