This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Rsync from cmd prompt
- From: "Bruce Dobrin" <dobrin at imageworks dot com>
- To: "cygwin mailing list" <cygwin at cygwin dot com>
- Date: Wed, 1 May 2002 13:33:39 -0700
- Subject: Rsync from cmd prompt
I've just started using Rsync and would love to have it run in my NT startup
script, but although this works perfectly:
dobrin@THEODOLITE:/home/dobrin> rsync -avz billabong:/d/dist/sysadm_general/
/temp/poop
rsync: open connection using rsh billabong
rsync --server --sender -vlogDtprz . /d/dist/sysadm_general/
receiving file list ... done
wrote 16 bytes read 29400 bytes 828.62 bytes/sec
total size is 48631312 speedup is 1653.23
from the cmd prompt I get:
C:\home\dobrin>bash --noprofile -c "rsync -avz
billabong:/d/dist/sysadm_general/ /temp/poop"
rsync: open connection using rsh billabong
rsync --server --sender -vlogDtprz . /d/dist/sysadm_general/
Terminal readThe parameter is incorrect.
: > Recv failed:Connection reset by peer
rsync: read error: Connection reset by peer
I also tried: cmd /c "rsync -avz billabong:/d/dist/sysadm_general/
/temp/poop"
And a few othter permutations....
local to local it works fine.
Anyone have a suggestion? I'm sure I just have a syntax problem.
(1.3.10)
Thanks
Bruce Dobrin
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/