files and directories with accented characters are destroyed

Wayne Davison wayned at
Fri Apr 15 16:59:26 GMT 2005

On Fri, Apr 15, 2005 at 06:47:18PM +0200, Jean-Max Reymond wrote:
> ckrmac:/tmp root# echo /tmp/t*
> /tmp/t\351t\351        [backslashed values based on originals]
> ckrmac:/tmp root# ls /tmp/t*
> /tmp/te??te??

Looks like the root problem may be that one filesystem is is using a
single-byte encoding, but the other is using multi-byte, and thus
rejects an attempt to write out a name that doesn't follow this
multi-byte convention.  There is a diff in the patches dir named
fname-convert.diff that provides a way to ask rsync to convert names
from one encoding to another.  I had been hoping to improve it a bit,
but have not done much with it yet.  You might want to give it a try.


More information about the rsync mailing list