X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Date: Wed, 16 Dec 2009 20:45:16 +0100 From: Spiro Trikaliotis To: cygwin AT cygwin DOT com Message-ID: <20091216194516.GA2368@agger> Mail-Followup-To: cygwin AT cygwin DOT com References: <26805392 DOT post AT talk DOT nabble DOT com> <416096c60912152331h742c5bccm6e6de84850a8def1 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416096c60912152331h742c5bccm6e6de84850a8def1@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-SA-Exim-Connect-IP: 87.163.221.49 X-SA-Exim-Mail-From: an-cygwin AT spiro DOT trikaliotis DOT net Subject: Re: rsync - convert illegal characters in paths X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on mail.trikaliotis.net) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hello, I am sorry for hijacking this thread, but I have a related problem: * On Wed, Dec 16, 2009 at 07:31:25AM +0000 Andy Koppe wrote: > 2009/12/16 chaos215bar2: > > > > I'm attempting to use rsync to backup from Linux to Windows. This is mostly > > working, except that paths with characters that are not legal in NTFS (< > : > > " / \ | ? *) are not copied because rsync fails to create files and > > directories with names containing these characters. > > Those characters are supported in Cygwin 1.7. Personally, I have this problem with the colon sign (":"). This is used in maildir format, for example. Trying to rsync a maildir folder with rsync always fails for me, as on Linux, the generated filename contains a colon sign. On Windows, NTFS interprets the colon as indicator for an alternative data stream (ADS), thus, the resulting file has length 0 (and all the data is in the ADS). Is there an option to make sure the colon is converted into another character? As far as I understand it, --iconv does not help me as I do not want to translate between differing charsets. Can anyone shed any light on this? Oh, I am using Cygwin 1.5. Best regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple