Finding and Organizing Photos

I've been taking photos with a digital camera since November 2004. That's over 10 years now. During this time I have used many different cameras, PCs (Windows and Linux) and Macs and various attempts to try and back up those photos. Needless to say I've amassed a number of photos across different hard drives and forgotten where these photos live. I think many of us have done this. Or is it just me?

Anyway I came across a Python script to organize photos and I've modified it so that it will recursively search directories on a hard drive. It will organize the photos into folders of year / month / day and rename the photos of the date and time they were taken. If it cannot determine this information it will store them in a single folder. This script has been very useful to me and I've managed to back up my photos to Dropbox as well as storing them on an external drive for back up.

Anyway, here is the script and please note, it only works on a Mac.