as newbie question on backup
as newbie question on backup
- Subject: as newbie question on backup
- From: "Brian Kearney" <email@hidden>
- Date: Mon, 26 Mar 2001 12:11:32 -0700
I need some help with an apple script. I'm basically building a poor man's
raid. We have a 60 gig hard drive I want to copy completely to another 60
gig every night. The script follows, however, it seems like it isn't copying
_over_ the old files, but moves the old files to the trash, and then the
back up drive fills up and it stops due to lack of space. Obviously, I'm
missing a command. Anyone know of a good on-line reference for apple script
commands? Thanks in advance.
tell application "Finder"
select disk "Mother of All"
open selection
with timeout of 30000 seconds
duplicate every file of disk "Mother of All" to folder "Mother of
All back_up" of disk "Back_up" with replacing
duplicate every folder of disk "Mother of All" to folder "Mother of
All back_up" of disk "Back_up" with replacing
close container window of disk "Mother of All"
duplicate every file of disk "Bouncier" to folder "Bouncier back_up"
of disk "Back_up" with replacing
duplicate every folder of disk "Bouncier" to folder "Bouncier
back_up" of disk "Back_up" with replacing
close container window of disk "Bouncier"
end timeout
end tell