
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Reading kanji file name from Mac OS X, without using Win XP
I have been struggling to read a CD of precious files with kanji names
that was written on Mac OS X.
The file names always came out as a series of ? and _, no matter how I
mounted it: -o iocharset=sjis, or utf-8 or euc-jp etc; codepage=932 and
942.
Does anyone know how to do this on Linux?
I gaved in and tried it on Win XP: bingo, all the kanji file names are
there, no problem. Plus the weird "dot" files (= Mac Resource Fork?),
are gone.
I copied the dir tree onto a thumb drive and hence to my Debian/Sarge,
mounted as iocharset=sjis, and all is swell.
I converted to my preferred utf-8 filenames and content encoding with:
convmv -r -f sjis -t utf-8 --notest * #file names
find * -type f -print | xargs recode sjis/cl..utf-8/ -f
(the data itself originally came from Win, hence the /cl in recode,
thanks to TLUG for teaching me how to do this last year).
But, is there no way to do this all in Linux, without Windows as a
bridge? I mean, its embarrassing!
David Riggs, Kyoto.
Home |
Main Index |
Thread Index