Re: backup script
Re: backup script
- Subject: Re: backup script
- From: John W Baxter <email@hidden>
- Date: Tue, 13 Feb 2001 13:37:33 -0800
>
on 2/13/2001 11:06 AM, Mr Tea (email@hidden) wrote:
>
>
> This from Jolly Roger - dateline 2/13/01 12.23 am:
>
>
>
>> tell application "Finder"
>
>> duplicate myFile to zipDisk with replacing
>
>> end tell
>
>
>
> Hi JR.
>
>
>
> I think B.H. will find that when he does this, the replaced items on the Zip
>
> disk are moved to the trash rather than deleted. (This was true in OS 9.0.4,
>
> but I haven't tested it in OS 9.1 yet.) So the stuff appears to have been
>
> deleted, but is still taking up space on the Zip.
One feels constrained to point out the backup command in Apple's (now free
but fading away) MPW. If one has MPW, the backup command is quite useful.
It doesn't move any files around...it creates the necessary series of
duplicate commands, directory creations, delete commands, and so on to get
the job done. One then checks those commands and runs them as a script (or
one can automate that by executing the output from backup).
A nice thing about MPW is the equal command...after running the output of
backup, one can (depending on what one asked backup to do) edit the
duplicate commands into equal commands to check the validity of the copy).
The Satimage scripting addition could well be the better choice for those
who presently have neither it nor MPW.
--John
--
John Baxter email@hidden Port Ludlow, WA, USA