Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "cygwin mailing list" Subject: Rsync from cmd prompt Date: Wed, 1 May 2002 13:33:39 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/