rsync and translating restricted NTFS filename characters

Matt McCutchen matt at mattmccutchen.net
Tue Nov 6 20:30:35 GMT 2007


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