mnot’s Web log

Design depends largely on constraints.” — Charles Eames

Friday, 28 May 2004

Rename with Date.applescript

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!


Filed under: Mac

add to the discussion

your details

name
e-mail address

Your e-mail address will not be shared.

your comment

Separate paragraphs with blank lines; HTML markup will be removed.

By submitting a comment, you agree to grant a limited license to reproduce it, under the same terms as the page being commented upon. If you have questions or prefer other terms, please contact me.

Creative Commons License