This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rsync 2.6.9-2 cannot sync file with special long filename

Hi all,

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?

Best regards

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 .
rsync: rename
No such file or directory (2)
rsync error: some files could not be transferred (code 23) at
/home/lapo/packaging/tmp/rsync-2.6.9/main.c(1385) [generator=2.6.9]

#An emtpy file starting with a dot is then leftover on the local machine:
$ ls -lA t
ls -lA t
total 0
-rw-r--r-- 1 ms mkgroup-l-d 0 Dec 23 13:12

#Bash version on windows machine:
$ bash --version
bash --version
GNU bash, version 3.2.25(16)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]