Re: rsync and translating restricted NTFS filename characters

2007-11-09 Thread Jeff Weber
Matt Wayne: The transliterate patched worked great. I can now backup and restore to/from a SMB NTFS share. Many thanks for taking the time to spin me a patch! Jeff Weber On Tuesday 06 November 2007 02:30:35 pm Matt McCutchen wrote: Jeff, Wayne has cleaned up my patch a bit. The

Re: rsync and translating restricted NTFS filename characters

2007-11-06 Thread Matt McCutchen
On Mon, 2007-11-05 at 21:24 -0800, Wayne Davison wrote: On Tue, Nov 06, 2007 at 12:04:19AM -0500, Matt McCutchen wrote: This patch adds an option --tr=BAD/GOOD to transliterate filenames. Both sides need identical file names in the list when sorting, otherwise a name could sort into

Re: rsync and translating restricted NTFS filename characters

2007-11-06 Thread Matt McCutchen
Jeff, Wayne has cleaned up my patch a bit. The new version is at: http://cvs.samba.org/cgi-bin/cvsweb/rsync/patches/transliterate.diff?rev=1.1content-type=text/x-cvsweb-markup Matt On Tue, 2007-11-06 at 08:29 -0500, Matt McCutchen wrote: On Mon, 2007-11-05 at 21:24 -0800, Wayne Davison

Re: rsync and translating restricted NTFS filename characters

2007-11-05 Thread Matt McCutchen
On Tue, 2007-10-30 at 10:07 -0500, Jeff Weber wrote: Is there a solution to rsync Linux file paths with restricted NTFS characters, to NTFS? Perhaps there exists a solution to remap. say, Linux path ; [colon] to an alternate character ! [exclamation mark] on NTFS ? Rsync currently does not

Re: rsync and translating restricted NTFS filename characters

2007-11-05 Thread Wayne Davison
On Tue, Nov 06, 2007 at 12:04:19AM -0500, Matt McCutchen wrote: This patch adds an option --tr=BAD/GOOD to transliterate filenames. Both sides need identical file names in the list when sorting, otherwise a name could sort into different spots on each side. The iconv code deals with this by

rsync and translating restricted NTFS filename characters

2007-10-30 Thread Jeff Weber
I am backing up files from Linux to a NTFS using rsync. I have the NTFS mounted on Linux via CIFS. I am discovering errors while attempting to backup files with restricted NTFS characters, like : [colon]. For example, I am unable to backup my crucial maildirs, as a colon is encoded in each