An AppleScript to sync creation and modification dates

Sep 10, '07 07:30:00AM

Contributed by: lantrix

This previous hint showed how to set up an AppleScript droplet to modify the creation date of a file. But what if you want to sync the modified date and Creation dates instead? This AppleScript has been created to do just that. It has evolved from one Daniel A. Shockley provided in a comment to the previous hint, and has been extended to fit this purpose.

To set your files' modified date to be the same as the creation date, use the AppleScript as a droplet application. Copy and paste the text into a new script in Script Editor, and then save it as an application. Run the application to bring up a requester, or drop your files (not folders) on the application directly.

[robg adds: I haven't tested this one.]

Comments (6)


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