[ale] rsync + ssh + cron
Robert Story
rstory-l at 2006.revelstone.com
Tue May 23 14:24:44 EDT 2006
On Tue, 23 May 2006 13:22:02 -0400 Nathan wrote:
NJU> Thanks for the quick response. The command line that the script is
NJU> generating (
NJU> /usr/bin/rsync -av -e 'ssh -p 2201' /home/nathan/source/
NJU> nathan at lint-1:/home/nathan/destination --progress --stats --compress
NJU> --delete ) is actually working if I just copy and paste it to a [new]
NJU> command line. The problem though is that it won't run from the script.
This is almost certainly due to quoting issues. I'd recomment creating an
entry for lint-1 in the users ~/.ssh/config and specify the port there,
instead of in the command line.
More information about the Ale
mailing list