delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/01/16:36:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <038301c1f14f$7a296c50$b86416ac@THEODOLITE>
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: "cygwin mailing list" <cygwin AT cygwin DOT com>
Subject: Rsync from cmd prompt
Date: Wed, 1 May 2002 13:33:39 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000


I've just started using Rsync and would love to have it run in my NT startup
script,  but although this works perfectly:

dobrin AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019