Copying a file and changing its name
Copying a file and changing its name
- Subject: Copying a file and changing its name
- From: Drew Fiero <email@hidden>
- Date: Mon, 29 Jan 2001 14:04:55 -0800
Hello,
I know this is so easy but I can't seem to get the syntax right. I
want to copy our retrospect catalog file to another drive with a
different name.
What I've been trying are variations like this:
tell application "Finder"
duplicate file,
"HD1:Folder:Backup" to alias "HD2:Folder:Backup_todaysDate"
end tell
This only seems to work if the file already exists.
How do get the copy to go to a file with a different name?
Thanks for you help,
drew