Skip to main content

An AppleScript to sync creation and modification dates

After I read this macosxhints.com post, I decided to have a go at something slightly different.

The orginal 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 script has been created to do just that. It has evolved from one Daniel A. Shockley provided in a macosxhints 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.

Download the Applescript (Note: not tested on Leopard/10.5.x)

Note: a reader of my post suggested a simpler date change routine.