mnot’s blog

Design depends largely on constraints.” — Charles Eames

Friday, 28 May 2004

Rename with Date.applescript

Filed under: Mac

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!


Creative Commons