how to rename jpg files easily

hey folks,

here some useful tips, how to easily rename jpg file according to their exif information (found at

exiv2 -r '%Y-%m-%d_%H%M%S_:basename:' rename myfile.jpg

or using this script for entire directories:

find . -iname "*.JPG" | while read f; do
  exiv2 -r '%Y-%m-%d_%H-%M-%S_:basename:' rename "$f"

thanks to Alain Kelder! 😉

Leave a Reply

Your email address will not be published. Required fields are marked *