Earlier I posted this one.

Unfortunately, my hard drive died the other day and lost my script(s).. Anyhow the script I previously wrote had a disadvantage that renamed images could never be ordered ordered based on time taken. It ordered images based on date taken but the number suffix at end was not too accurate to be able to order them as I wanted.

So I rewrote the script. This is what it does now. Instead of giving images number suffix, I decided to give each image an unique number by adding hour-minute-second eg)062534 means that the image was taken at 6am 25mins 34 seconds.

snapshot3

Note! Time in my camera was like 8 hours early! So that’s why the photo in the screenshot above was taken like at 2am! We were sleeping then! I have corrected time in my camera now. :)

Download:
http://daisukemaki.com/scripts/renameBasedOnDatesTaken.py

Usage:
- requires EXIF.py in the same directory as this script
- in shell type, renameBasedOnDatesTaken.py soccer
Image in the directory will be renamed to like this
2009-12-20.123454.soccer.JPG
2009-12-20.123625.soccer.JPG