rsync - convert illegal characters in paths

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Dec 16 20:29:00 GMT 2009


On 12/16/2009 02:45 PM, Spiro Trikaliotis wrote:

<snip>

> * 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).

<snip>

> Can anyone shed any light on this?
>
> Oh, I am using Cygwin 1.5.

Then you want to try 1.7.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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



More information about the Cygwin mailing list