• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
as newbie question on backup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: [Long] Re: CGIs with OSX - progress report, premature end of script headers
  • Next by Date: Quark: A very fast snippet for listing ASCII numbers
  • Previous by thread: Re: CGIs with OSX - progress report
  • Next by thread: Quark: A very fast snippet for listing ASCII numbers
  • Index(es):
    • Date
    • Thread