Duplicate with replacing and a full trash
Duplicate with replacing and a full trash
- Subject: Duplicate with replacing and a full trash
- From: "John Tuttle" <email@hidden>
- Date: Fri, 07 Dec 2001 07:51:16 -0600
A curious situation that I'm sure someone has run across.
I've written a short script which duplicates a large folder of files to an
external hard drive. I use the following AppleScript code:
Tell app "Finder"
Select folder "My Drive:My folder"
Duplicate selection to folder "External Drive:External Folder" with
replacing
End tell
It works just dandy save for the fact that the replaced file gets placed in
the trash and I then have to empty the trash. Not such a big deal but this
does not occur if I dragged the folder to the external drive by hand and
select the replace option when the dialog pops up.
Any takers?
--
John Tuttle