delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/26/19:35:41

X-Spam-Check-By: sourceware.org
Message-ID: <44A06F42.5080503@tlinx.org>
Date: Mon, 26 Jun 2006 16:35:30 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: rsync thinking a local transfer is "remote"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I've got a weird situation with rsync.   I'm trying to
transfer some files from a network share mounted as "B:\".

I'm copying the files to corresponding locations under C:\.

I've done many transfers from B->C, entire directories, but now
In a particular instance, rsync tries to transfer via the network.

I'm using the same syntax as before and have tried some variations
but am still seeing this odd behavior.

Commands I've tried include:
rsync -av /b/windows/Resources/* /c/WINDOWS/Resources/
rsync -v -a /b/Windows/Resources/Icons /Windows/Resources/
rsync -v -a /b/Windows/Resources/Icons/Home.ico /Windows/Resources/Icons/

(and with CWD=source dir)
rsync -va * /c/WINDOWS/Resources/
rsync -v -v -v -a Icons /c/WINDOWS/Resources/
rsync -v -v -v -a Icons /WINDOWS/Resources/
----
Each of the above attempted to open port 2201 for output (which
I denied).  And each failed with:
rsync: pipe: Connection refused (111)
rsync error: error in IPC code (code 14) at
                             
/home/lapo/packaging/tmp/rsync-2.6.6/pipe.c(117)
----
I finally used:

cp -a Icons /Windows/Resources/

which works, but doesn't say much for "rsync" other than "it is
confused".

Are there any outstanding or known issues where "rsync" gets confused
and tries to do a networked copy when both the source and target are
locally mounted "disks"?

Thanks,
Linda




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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