| [AppleScript] Duplicate files with timestamp
Here's a script I just wrote today. It duplicates the currently selected files in the Finder, and then puts a timestamp in the name of the duplicates (instead of the generic "copy"). The timestamp uses a long date format that is properly sortable as plain text in any program: YYYY-MM-DD hh-mm-ss
For example, if you load the script with "MyFile.txt" selected at 2:15 PM, the duplicate will be named something like "MyFile 2008-03-16 14-15-01.txt".
It works with any number of files and folders selected at once.
Last edited by Mikuro; March 16th, 2008 at 02:29 PM.
Reason: Changed file format from ".script" (compiled) to ".applescript" (text)
|