delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/15/21:34:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26805392.post@talk.nabble.com>
Date: Tue, 15 Dec 2009 18:33:51 -0800 (PST)
From: chaos215bar2 <chaos215bar2 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: rsync - convert illegal characters in paths
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.

I've looked at the --iconv option, but I'm not aware of a character set that
includes only valid NTFS characters, and I've run into some issues with
unicode characters when I use --iconv. (Currently, filenames with unicode
characters are preserved perfectly, thanks to UTF-8 Cygwin.)

Is there a way to get rsync to convert these illegal characters? I'm more
interested in just getting all my data copied than necessarily preserving
all filenames upon restore, though having a conversion that goes both ways
would be preferable.

Thanks.
-- 
View this message in context: http://old.nabble.com/rsync---convert-illegal-characters-in-paths-tp26805392p26805392.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019