On 27 Oct 2005, at 03:33, Ben Escoto wrote:
Kevin Horton <[EMAIL PROTECTED]>
wrote the following on Wed, 26 Oct 2005 21:07:04 -0400
Could you tell me what the rdiff-backup-data/chars_to_quote file is
when:
1) You make a repository from scratch with the most recent version
2) For older versions, if you have any repository laying around
I've been using the --override-chars-to-quote '' switch to avoid the
"too long file name error", and both these files show as zero size.
I looked at them with a hex editor to confirm this.
Processing changed file CD for M&D/Updates/iTunes 4.7/Read Before You
Install iTunes.app/Contents/Resources/ko.lproj/iTunes ???
?????? ????? ?????????.rtf
...
OSError: [Errno 63] File name too long: '/Volumes/Ext_BU/Users/kwh/
rdiffbu_v1_1_0/CD for M&D/Updates/iTunes 4.7/Read Before You Install
iTunes.app/Contents/Resources/ko.lproj/iTunes ;
225;132;137;225;133;165;225;134;175;225;132;142;225;133;181;225;132;1
46;
225;133;161;225;132;128;225;133;181 ;
225;132;140;225;133;165;225;134;171;225;132;139;225;133;166 ;
225;132;139;225;133;181;225;134;176;225;132;139;225;133;165;225;132;1
35;
225;133;169;225;132;128;225;133;181.rtf'
What is this M&D/Updates/.../iTunes_____________.rtf file? Are there
really a lot of weird characters in it? After a little manual
translating they look possibly Japanese to me :)
This is a Korean Read Me file, so I assume the characters in the file
name are Korean. I hadn't realized it, but the "Read Before You
Install iTunes" file is actually an application, with a huge number
of Read Me files embedded in it, each in a different language.
Try this patch to fs_abilities.py:
diff -u -r1.22 fs_abilities.py
--- fs_abilities.py 26 Oct 2005 17:42:17 -0000 1.22
+++ fs_abilities.py 27 Oct 2005 07:30:52 -0000
@@ -199,7 +199,8 @@
assert ord_rp.lstat()
ord_rp.delete()
- extended_filename = ':\\' + chr(175)
+ # Try a UTF-8 encoded character
+ extended_filename = ':\\ ' + chr(225) + chr(132) +
chr(137)
try:
ext_rp = subdir.append(extended_filename)
ext_rp.touch()
I'll try the patch tonight. I only have a few free minutes this
morning.
Kevin
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki