Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript droplet to change the creation date' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript droplet to change the creation date
Authored by: Darkelf on Nov 06, '06 09:07:45AM

Have an interesting problem with these scripts.

Seems that certain jpg files are resistant to the date change. The modified date works just fine in both scripts listed but on some files the creation date will only respond to a date *prior* to its current creation date.

In trying to make the problem clear, here is an example.

File name= testpic.jpg mod date= 1/1/2003 creation date = 7/23/2000

If I try to change the creation date to lets say 8/24/05, only the modified date will update.

If I try to change the creation date to something earlier, lets say 6/15/2000, then it works just fine, changing both creation and modified dates.

Weird. Any ideas how to fix this? I really need this script to work as I have a whole lot of pix that need organizing and the batch edit in iPhoto only modifies a duplicate of the original. Need to change the original.

Thanks!!



[ Reply to This | # ]
An AppleScript droplet to change the creation date
Authored by: Skeeve on Jan 01, '07 08:19:49AM

Simple: In Terminal do
cat oldfile.jpg > newfile.jpg
After that you have the current date set for newfile.jpg and can touch it to any ancient date you like. oldfile.jpg is obsolete then.



[ Reply to This | # ]