Re: rsync (Re: scp is great, but for mirroring?)

John Coleman (john.coleman@yale.edu)
Thu, 14 Jan 1999 14:24:12 -0500 (EST)

> Good suggestion, but I haven't gotten rsync to work.
> I get errors like permission denied or rsync: command not found.
> Do you have an example case/command line I can look at?

Make sure that both rsync and ssh are in the path of the local and remote
user

Snip from a script
....

rsync="/usr/local/bin/rsync --force --delete -rzle /usr/local/bin/ssh"

$rsync /local/path/to/mirror/ remote_user_name@target.yale.edu:/target

....

It is a fussy program....and trailing slashes have weird effects which you
have to figure out from the directions and just testing. There's also an
rsync daemon which I've never used.