This is the mail archive of the
mailing list for the Cygwin project.
rsync 2.6.9-2 cannot sync file with special long filename
- From: Michael <newsmichael at bigfoot dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 23 Dec 2007 13:14:11 +0100
- Subject: rsync 2.6.9-2 cannot sync file with special long filename
I try to use rsync to synchronize a file which has an odd name ( it's a
Maildir file created from courier-imap). The filename is:
I want to sync from a remote linux machine to local windows machine with
rsync 2.6.9-2 from within a cygwin terminal. rsync fails with error code
23. When I truncate the filename at the end by 4 charactes then it works
I assume this is a bug in rsync or bash, and I believe the colon is
causing the trouble. Does anyone know a workaround? If no - is it enough
to post the bug here, or is there another bug reporting channel for cygwin?
Here is the the detailed transcript of the session:
#On the linux machine:
$ ls /tmp/t
#On the windows xp machine:
$ rsync -a user@linuxmachine:/tmp/t .
No such file or directory (2)
rsync error: some files could not be transferred (code 23) at
#An emtpy file starting with a dot is then leftover on the local machine:
$ ls -lA t
ls -lA t
-rw-r--r-- 1 ms mkgroup-l-d 0 Dec 23 13:12
#Bash version on windows machine:
$ bash --version
GNU bash, version 3.2.25(16)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html