Re: Apple script to automatically update folder's content from server.
Re: Apple script to automatically update folder's content from server.
- Subject: Re: Apple script to automatically update folder's content from server.
- From: Axel Luttgens <email@hidden>
- Date: Thu, 07 Apr 2005 15:28:00 +0200
Gnarlodious wrote:
Entity George Esoimeme spoke thus:
Connect to server folder (a)
Connect to client folder (b)
Compare the contents of a and b
If a not equal to b
copy contents.a to contets.b
End if
disconnect from a
The built-in UNIX tool rsync does this, comparing file dates and
syncronizing only newer files. It only handles plain files, not Mac
resourced files. If you want that you need to install the RsyncX HFS patch:
http://archive.macosxlabs.org/rsyncx/rsyncx.html
The rsync command line is a challenge, if you want help just ask here.
I would like to second Gnarlie here: rsync (and its HFS aware variants)
is an extremely versatile and efficient tool.
Now, as you seemed to be in a hurry, you could also have a look at
Smile (<http://www.satimage.fr/software/en/>).
IIRC, it propones a powerful "backup" AppleScript command which could
lead more quickly to an operational solution.
HTH,
Axel
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden