Rsync from cmd prompt

Bruce Dobrin dobrin@imageworks.com
Wed May 1 13:35:00 GMT 2002



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/



More information about the Cygwin mailing list