rsync and translating restricted NTFS filename characters

Jeff Weber jweber at amsc.com
Fri Nov 9 15:01:46 GMT 2007


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 new version is at:
>
> http://cvs.samba.org/cgi-bin/cvsweb/rsync/patches/transliterate.diff?rev=1.
>1&content-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 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 different spots on each side.  The
> > > iconv code deals with this by using an index into the unsorted file
> > > list, so you might want to make use of that code.
> >
> > Oops!  I overlooked that issue because I only tested with one file;
> > thanks for pointing it out.  I have updated the patch (attached) to
> > activate the need_unsorted_flist code when a --tr option is passed.
> >
> > Matt


More information about the rsync mailing list