rsync and translating restricted NTFS filename characters

Matt McCutchen matt at
Tue Nov 6 13:29:55 GMT 2007

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: transliterate.diff
Type: text/x-patch
Size: 7584 bytes
Desc: not available
Url :

More information about the rsync mailing list