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:
- If the photo's date is prior to the file's date, a simple touch is done.
- If the photo's date is prior to today's date, the photo file is copied, so it gets today's date. Then it is touched.
- Otherwise you have a picture from the future and I'd like to meet you soon ;-) No.. .The script complains and suggests you fix your time settings.
- Standalone: You will be asked to select the JPEG files that shall be changed.
- As a droplet: You may drop JPEGs and folders on it and any JPEG file (recursively) found, will be changed.
- As a Folder Action: Like a droplet, but working on all items added to the folder.
[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.]
