Thursday, March 29, 2007

Automator Action to Rename Photos by Date Taken

Order Photos with Automator Screenshot
Problem: I had a directory of 115 photos which I wanted to upload to my picture gallery in the order they were taken but they were taken with three different cameras so the filenames meant nothing. With the Firefox/Apple finder you are unable to order by Date Created very easily in the dialog that pops up when you click to upload a photo to the web.

Solution: I created an Automator Action to first take Selected Finder Items then copy them just in case, then order the items by Date Taken, then rename the files in that order to 1-115.jpg. I also added a string so I could use this script for multiple directories I needed to order like this. You can download the action: Order Photos Automator Action.

To use this Automator Action, first select your photos in the finder, the double click on the Automator Script (after unpacking it from the ZIP). You will need to edit the location to save the copied items to to fit your needs and edit the filename settings if you don't want _nc in your name.

This script is nothing special or perfect but hopefully it gets you thinking about harnessing Automator to quickly perform menial tasks on your Apple.

Labels: ,


Blogger Mortimer said...

you might want to have a try at the MetaDataMover action.

It can move/rename files according to particular metadata. For images in particular, you can get the taken date from the EXIF data and rename your files to have the date in the file name.

2:28 PM  

Post a Comment

<< Home