[ale] rsync + ssh + cron
Jim Popovitch
jimpop at yahoo.com
Tue May 23 13:17:05 EDT 2006
Nathan J. Underwood wrote:
> The error that I'm getting (figured that may be handy) when I try to run
> it is:
>
> /usr/bin/rsync -av -e 'ssh -p 2201' /home/nathan/source/
> nathan at lint-1:/home/nathan/destination --progress --stats --compress
> --delete
> Missing trailing-' in remote-shell command.
> rsync error: syntax or usage error (code 1) at main.c(335) [sender=2.6.8]
> [nathan at linux-fs2 scripts]$
Try this line:
/usr/bin/rsync -av -e "ssh -p 2201" --delete --compress
/home/nathan/source/ nathan at lint-1:/home/nathan/destination/
hth,
-Jim P.
More information about the Ale
mailing list