Copying files via applescript
Copying files via applescript
- Subject: Copying files via applescript
- From: Brian Dent <email@hidden>
- Date: Wed, 09 Jun 2004 09:41:01 -0700
I am trying to make an applescript to copy all the files in a folder to a USB memory card. and if the file already exists on the card to keep which ever version is most current.
so far i have.
tell application "Finder"
activate
set labsFolder to folder "labs" of folder "JavaProgs" of folder "Documents" of folder "KushelDuv" of folder "Users" of startup disk
set destFolder to folder "labs" of folder "JavaProgs" of disk "LEXAR_MEDIA"
duplicate labsFolder to destFolder
end tell
but how do i get it to keep the most recent?
one other question this script runs fine but if i change both "labs" to "assignments" it opens up the little copying window, copies the files, but then says there was an error. and when i look at the memory card nothing was copied. any idea wutz happenin?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.