Renaming image files based on exif data

I purchased a fully manual Samyang 12 mm f/2.0 NCS CS (review, review) lens for my Sony Alpha 5000. This lens has no electronic interface and so camera doesn’t know what was the aperutre nor focal length. It simply puts 0 for them. (There is an in-camera app for that, but you’ll need to adjust aperture value every time you change it)

I wanted to create two separate albums, one per lens. Select best pics, edit those and then compare the results. Atm I would need to iterate over 200 photos manually and look for F0 aperture.

How do your automate this? Bash (and google) to the rescue!

There is a tool called exiv2. It can show the exif of your file. Eg

Continue reading “Renaming image files based on exif data”