Re: Mirror a local folder with 4 remote servers
Re: Mirror a local folder with 4 remote servers
- Subject: Re: Mirror a local folder with 4 remote servers
- From: Gnarlodious <email@hidden>
- Date: Mon, 05 Dec 2005 21:34:26 -0700
- Thread-topic: Mirror a local folder with 4 remote servers
Entity Graham Anderson spoke thus:
> Does anyone have an applescript that takes a local folder and
> synchronizes multiple ftp servers with it ?
The ideal tool for this is rsync, which doesn't require Applescript. If you
do choose to use Applescript, you can tell Terminal to run the rsync command
and the upload results will appear in the Terminal window, which is what I
prefer. The rsync command uses ssh to connect passwordlessly so you don't
have to send a password with the command.
The typical rsync command will look like this:
rsync -a -E 'ssh -2' email@hidden:'/Volumes/Rachel/Sites'
'/Volumes/Rachel/Sites/' --delete --update --progress
rsync is tough to kill, it usually keeps on trying until the job is done. If
you want the commands to run on schedule you can do it from Cronnix, cron or
iCal.
-- Gnarlie
_______________________________________________
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