Sorting Digital Photos

More and more people collect a growing mountain of digital photos. I try to manage that nice mountain, but somehow I ended up with a couple of directories which contain photos, which might be duplicates, or might not.

Note: the droplet uses the PHP script, you will need both and you will need to edit the droplet!

Normally I collect all my photos in iPhoto on my desktop iMac. That is a problem when travelling, then I use an iPod or my MacBook. At some point I ran out of disk space on my desktop. Which is a major problem with iPhoto, as it stores all photos in one big directory on a single volume.

So I ended up with multiple directories on multiple volumes containing thousands of photos.

What to do?

Group By Date

Grouping photos by date is a very logical way of organising photos.
As the date is not necessarily the creation date of the photo, we have to look at the DateTaken in the Exif information. This date is written into the photo at the moment the photo is taken.

Grouping by date calls for a very simple directory structure:

year / month / day / myphoto.jpg

Removing Duplicates

My script moves the photos to the above hierarchy, and while doing so tryes to find duplicate photos and delete them. It does so by checking all photos with the same name against their md5 checksum.

When the checksum is the same, we can safely assume that the photo is the same.

When copying a batch of photos, the script will first add a file using the md5 checksum as the filename. This prevents creation of multiple copies of the same photo. After copying all photos into the hierarchy, the script will rename the photo to its original name.

Duplicate File Names

Of course, you can have two photos, taken on the same day, with the same filename. This happens when you make an excessive amount of photos, or when you use two cameras with the same numbering scheme.

I solve this by prefixing the photo name with the last three digits of the serial number of the camera. When this results in two different photos of with the same name (from probably the same camera) then the filenames will have an added '-1', '-2' etc.

Prefixing the file with (part of) the serial number of your camera makes it also easier to do a batch processing for correction on a per-camera basis. For example when you want to correct the exif date or time (cameras that are not on time is very common when you cross time zones...).

Creation Date of the Photo Files

After copying and renaming the photo to its final destination, the script will set the modification date and time of the photo file to the date and time found in the Exif information of the photo.

This will help finding photos with the normal file search, and also make it easy to sort photos by the time taken.

Mac OS X Droplet

I also made a very simple Mac OS X droplet. Just mount your camera, drop the directory with files on the droplet, and all your photos are safely copied to the directory of your choice.

You will need to edit the scriplet, as I didn't make any configuration options.

downloads

macosx software download freeware apple macintosh application updates free batch convert

Geekologic.com

Free to use applications for Windows and Mac OS X.

Marc Liyanage - Software - Mac OS X Packages

Marc Liyanage is famous for his pre-packackaged Mac OS X software. When you don't want to build ...

infinite-sushi.com - 1001

1001 is a desktop client to be used in conjunction with Flickr, the online photo-sharing website....

quicksilver: access granted

A unified, extensible interface for working with applications, contacts, music, and other data....

VersionTracker

VersionTracker.com - Software downloads, reviews and updates for all types of commercial software...

Cocoa XML-RPC Client

XML-RPC Client is a free Cocoa-based developer tool for Mac OS X Tiger that allows you to access ...

opensource download software php macosx library code anymeta mediamatic marc liyanage

Marc Liyanage - Software - Mac OS X Packages

Marc Liyanage is famous for his pre-packackaged Mac OS X software. When you don't want to build ...

exiftags

The exiftags utility parses a specified JPEG file or, by default, its standard input, looking for...

oauth-php - Google Code

A PHP library for OAuth consumers and servers. Complete with an extensible OAuth store, includi...

Audacity: Free Audio Editor and Recorder

Audacity® is free, open source software for recording and editing sounds. It is available for Ma...

free macosx software download pictures images image freeware batch convert apple

Geekologic.com

Free to use applications for Windows and Mac OS X.

Democracy: Internet TV

There's an opportunity to build a new, open mass medium of online television. We're developing th...

Audacity: Free Audio Editor and Recorder

Audacity® is free, open source software for recording and editing sounds. It is available for Ma...

internet download software macosx xml development xml-rpc freeware client multimedia

Cocoa XML-RPC Client

XML-RPC Client is a free Cocoa-based developer tool for Mac OS X Tiger that allows you to access ...

Democracy: Internet TV

There's an opportunity to build a new, open mass medium of online television. We're developing th...

MarcWorrell.com/ created on 2007-08-27 16:53:37/ modified on 2007-09-12 11:25:06/ mail me at