mark nottingham

Rename with Date.applescript

Friday, 28 May 2004

Hey mac fans —

I need to track changes in a lot of documents, so I’ve cobbled together a simple AppleScript that renames the Finder’s selected files with the date: Rename with Date.

For example,

The File.doc

becomes

The File (2004-05-28).doc

based upon its last modification date. The script checks for naming clashes.

I use it in ~/Library/Scripts/Applications/Finder; it should be easy to adapt it to a droplet or folder action as well, though.

Enjoy!