This is the mail archive of the
mailing list for the Cygwin project.
using rsync with Win32/UNC pathnames?
- From: Tomasz Chmielewski <mangoo at wpkg dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 01 Apr 2008 13:59:33 +0200
- Subject: using rsync with Win32/UNC pathnames?
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.
However, this doesn't seem to work with rsync.
rsync will fail when sing Win32-style paths (it tries to connect via SSH):
$ rsync -v C:\1 C:\2
The source and destination cannot be both remote.
rsync error: syntax or usage eror (code 1) at
It works fine with cygwin paths:
$ rsync -v /cygdrive/c/1 /cygdrive/c/2
sent 150 bytes received 42 bytes 384.00 bytes/sec
total size is 68 speedup is 0.35
Why does it fail with Win32-paths?
Is is possible to use rsync.exe with Win32 and/or UNC paths?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html