X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=3IDjlR_HlX8A:10 a=w_pzkKWiAAAA:8 a=xe8BsctaAAAA:8 a=esqvQgHPpPMDdpCjSJUA:9 a=Zo6phYJx-YU9_lg0X4sA:7 a=oDMuP622e5aQ8B9Eurb1wCU-l-UA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <47F22572.3030406@byu.net> Date: Tue, 01 Apr 2008 06:07:14 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, mangoo AT wpkg DOT org Subject: Re: using rsync with Win32/UNC pathnames? References: <47F223A5 DOT 5010103 AT wpkg DOT org> In-Reply-To: <47F223A5.5010103@wpkg.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Tomasz Chmielewski on 4/1/2008 5:59 AM: | According to http://www.cygwin.com/cygwin-ug-net/using.html: | | Cygwin supports both Win32- and POSIX-style paths, where directory | delimiters may be either forward or back slashes. UNC pathnames | (starting with two slashes and a network name) are also supported. Cygwin1.dll does. But that doesn't mean all cygwin apps do. | It works fine with cygwin paths: | | $ rsync -v /cygdrive/c/1 /cygdrive/c/2 Then use that. POSIX paths are the preferred way to specify files, and if a backslash-path doesn't work, we aren't going to bend over backwards to make it "work". | | Why does it fail with Win32-paths? In the case of rsync (and also tar), the program has a special and documented syntax of remote-name:file, so you are asking to find the remote machine named "C" and the file "\1" on that machine, rather than the file "1" on the local drive c. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfyJXIACgkQ84KuGfSFAYDXLgCgzaDfXm0HF/ei/UW6kk9geQoT G6kAnit7zmC9pYZBTJxoAASBx4e29+u8 =bnbG -----END PGP SIGNATURE----- -- 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/