Mail Archives: cygwin/2007/12/23/07:14:41
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:
1198103388.M260996P29306V0000000000000713I000480DC_0.vl02s26,S=2503:2,S
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
fine.
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
Michael
Here is the the detailed transcript of the session:
#On the linux machine:
$ ls /tmp/t
1198103388.M260996P29306V0000000000000713I000480DC_0.vl02s26,S=2503:2,S
#On the windows xp machine:
$ rsync -a user AT linuxmachine:/tmp/t .
rsync: rename
"/cygdrive/f/backup/t/.1198103388.M260996P29306V0000000000000713I000480DC_0.vl02s26,S=2503:2,S.O6sEDc"
->
"t/1198103388.M260996P29306V0000000000000713I000480DC_0.vl02s26,S=2503:2,S":
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
.1198103388.M260996P29306V0000000000000713I000480DC_0.vl02s26,S=2503
#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: 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 -