X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <476E5113.20902@bigfoot.com> Date: Sun, 23 Dec 2007 13:14:11 +0100 From: Michael User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: rsync 2.6.9-2 cannot sync file with special long filename Content-Type: text/plain; charset=ISO-8859-15 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 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/