BACK UP/mirror files Script
BACK UP/mirror files Script
- Subject: BACK UP/mirror files Script
- From: Michael Fischbeck <email@hidden>
- Date: Fri, 12 Oct 2001 15:18:23 -0400
Hey everyone.
I have been looking for a way to back up files via AppleScript over an
AppleTalk network. I haven't found a matching script on the web, and just
ordered the AppleScript Handbook, but if anyone can help me, that would be
swell.
I would like to create an AppleScript that will back up files for us over a
network when we leave work for the night.
it needs to do the following:
There is a "Projects" folder on the hard drive of 2 computers in our
network.
Each Projects folder contains different files, but occasionally has folders
named for the same client. So, for instance, we may have done work for
Client 1 on both computers, both in a folder called Client 1 in the Projects
folder on both computers, and we need to back up the files from each
computer's Projects folder, to a folder called "projects backups" on a third
computer, so each time the Client 1 folder is updated on either computer,
and we run the script, it was add only the new or modified file or folder to
the back up computer, without rewriting the whole folder.
so here's what we need it to do:
Look at the files and folders in the folder "Projects" on Drives A Computer
A, and "projects on Drive B Computer B, and then compare them to the files
in the folder "ProjectsBackUps" on drive C of Computer C.
If the "Projects" folder on drive A has new files and folders added that are
not in the ProjectsBackUps" folder on drive C/Computer C, copy those files
to drive C. If current files and folders on Drive C have a newer creation
date, then replace the old ones with the new ones.
We can manually mount the other disk if necessary. The script doesn't need
to log on to the other computer through the script if it's a problem.,
although that would also be great.
With our current script we are copying the whole folder every night, not
just the new and modified files based on date. Thanks a lot for any help.
-mIkE
--
Michael Fischbeck
Graphic Artist
BOOMBA LLC
http://www.boomba.com