X-Recipient: archive-cygwin@delorie.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 <an-cygwin@spiro.trikaliotis.net>
To: cygwin@cygwin.com
Message-ID: <20091216194516.GA2368@agger>
Mail-Followup-To: cygwin@cygwin.com
References: <26805392.post@talk.nabble.com> <416096c60912152331h742c5bccm6e6de84850a8def1@mail.gmail.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@spiro.trikaliotis.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

