10.4: Set a photo file's creation date to the photo's date

Jan 05, '07 07:30:00AM

Contributed by: Skeeve

A fellow user in another (German) Forum asked for a way to change a photo file's creation date to the date the picture was taken. We also found out that touch also changes Mac OS X's creation date, provided that it's prior to the file's creation date. After a lengthy (German) discussion, I've created an AppleScript (see source links below) that takes care of (I hope) almost all possible cases:

The script is usable in three ways:
  1. Standalone: You will be asked to select the JPEG files that shall be changed.
  2. As a droplet: You may drop JPEGs and folders on it and any JPEG file (recursively) found, will be changed.
  3. As a Folder Action: Like a droplet, but working on all items added to the folder.
The script is in V0.3, and I have had no feedback yet, so I appreciate any feedback. I hope it's useful to some of you. The latest source can be found in this thread on the above-linked forums. The boards are in German, but the AppleScript itself is fairly obvious.

[robg adds: I copied the V0.3 version of the script and added it to our archives, just so there's at least one version always available. But be sure to check the forum link above for newer versions in the future. I have not tested this script.]

Comments (12)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20070104072657423