File Duplication Question
File Duplication Question
- Subject: File Duplication Question
- From: Oakley Masten <email@hidden>
- Date: Tue, 12 Jan 2010 12:19:02 -0800 (PST)
Hi All
Got a question that I just can't find a simple answer to.
I want to duplicate files from a local folder to another folder on a server
I will then move the file into a subfolder called "Processed" on the local machine.
Doing this is easy - so here is the question.
How do I change the name of the duplicated file on the server at the time of duplication.
I would think that"
Tell application "finder"
set theFile to choose file
duplicate theFile to Destination folder path on server with properties {name:"NewNameForFile.txt"}
end tell
But it
doesn't.
I could duplicate the file to the destination folder
then reference the original file name at the destination path and rename it.
Extra steps and not very elegant coding.
Any clues as to what I am doing wrong here?
Thanks in advance for you input.
Oakley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden