This is the mail archive of the
mailing list for the Cygwin project.
Re: rsync - convert illegal characters in paths
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.
Spiro R. Trikaliotis http://opencbm.sf.net/
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple