Organizing Photos


My wife and I were going through pictures on her camera card today, and she made the comment that she isn’t patient or organized enough to sort all the images by year and month, so I built a small php script to handle this for her.

This script is a bit limited, but it needs to reside at the same level as a directory named ‘unsorted’. It will go through all images in the unsorted directory and create directories for each month and place the pictures in them, based on the date the picture was taken. Right now this is only set to work for 2012, but I promise I will expand it to work for all years. 

This script also requires PHP and the EXIF extension to function. When I get a bit more time and the script perfected, I think I will port it to a windows executable so it can be downlaoded and run without extra requirements.


Leave a Reply

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