[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar und Umlaute mit Samba



Bei mir kommt fuer das 'ue' 374 anstelle 003.
Sowohl auf console als auch unter kde-konsole.
Liegt wohl an man:/iso_8859_1(7)
Wo kann ich eigentlich dieses auf ascii umstellen?
So dass ich dann auch 003 erhielte?
ja@rose:~> ls ./bücher
./bücher
ja@rose:~> ls ./b?cher| od -ba
0000000 056 057 142 374 143 150 145 162 012
          .   /   b   |   c   h   e   r  nl
0000011


> 
> mach mal ein find -name B* | od -oa
> Dann erhälst Du einen octal-dump des Dateinamens:
> 
> z.B.:
> 
> billy@farpoint:~/a/ > ls
> b?cher
> 
> billy@farpoint:~/a/ > find -type f| od -ba
> 0000000 056 057 142 003 143 150 145 162 012
>           .   /   b etx   c   h   e   r  nl
> 0000011
> 
> Also hast Du z.B. Ascii 3 statt "ü".
> 
> Um die Teufel loszuwerden z.B. dann:
> 
> rename -vn 'y/\001\002\006/äöü/' *
> 
> Jeweils mit statt "001" das, was dein "od" für ein "ä" anzeigt.
> Im ganzen Baum mit
> 
> find /wo_denn_bloß -type f -print0 | xargs -0 rename -vn
> 'y/\001\002\006/äöü/'
> 
> Gruß,
> -billy.

-- 
Danke ... MfG Michael Maldener



Reply to: