Simple Photos Backup

June 5th, 2010 by

Simple Photos Backup — because existing tools could not backup like I wanted.

Description: A simple photo backup script written in php that looks for all images on your disk and backs-up unique photos organized by folders named after the camera the image was taken on.


  1. Find unique photos
  2. Copy to a specified location for backup
  3. Sort the images based on the camera model it was taken on

Get it here:

Usage: php simplePhotosBackup.php

Input: allPics.txt in the same folder should contain paths to all images on your disk. I wrote another simple script to do this, but the easiest way to do it is use Everything , search for *.jpg and export it to a text file “allPics.txt”

Settings: You need to edit the php file to specify destination paths. Very simple.

The project is on github, so feel free to fork it or send me improvement patches!

Stats from my photo collection:

More detailed story