files and directories with accented characters are destroyed
Jean-Max Reymond
jmreymond at gmail.com
Fri Apr 15 17:27:53 GMT 2005
2005/4/15, Jean-Max Reymond <jmreymond at gmail.com>:
> 2005/4/15, Wayne Davison <wayned at samba.org>:
> > 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.
>
> OK, I try the patch
>
> For your understanding, ls -w is correct:
>
> -- ckrmac:/tmp root# echo /tmp/t*
> /tmp/tété
> ckrmac:/tmp root# ls -w /tmp/t*
> /tmp/tété
> ckrmac:/tmp root# echo /tmp/t* | od -cx
> 0000000 / t m p / t e 314 201 t e 314 201 \n
> 2f74 6d70 2f74 65cc 8174 65cc 810a
hum, I have applied on rsync 2.6.4 but I am not sure my command is correct:
ckrmac:/tmp/rsync-2.6.4 root# patch < /tmp/diff.patch
can't find file to patch at input line 8
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /cvsroot/rsync/patches/fname-convert.diff,v
|retrieving revision 1.13
|retrieving revision 1.14
|diff -u -r1.13 -r1.14
|--- rsync/patches/fname-convert.diff 2004/08/13 19:05:19 1.13
|+++ rsync/patches/fname-convert.diff 2004/09/21 15:47:58 1.14
--------------------------
--
Jean-Max Reymond
CKR Solutions Open Source
Nice France
http://www.ckr-solutions.com
More information about the rsync
mailing list