iso to utf

Antonis Sidiropoulos asidirop at csd.auth.gr
Mon Jun 2 19:45:02 EEST 2003


Den enoousa ta periexomena tou arxeiou.
Mono to filename thelw na kanw convert.
Alla to recode, mporei na parei kai apo to stdin eisodo,
opote gia tin metatropi twn filenames mono
to parakatw script :
#!/bin/sh  
find . | while read f; do
   s=`echo "$f" | recode iso8859-7..utf8`;
   mv "$f" "$s"
done

tin kanei tin douleia pou hthela.
Thanks gia to hint.

A.

P. Christeas wrote:

>Στις Δευ 02 Ιουν 2003 6:13 μμ, ο/η Antonis Sidiropoulos έγραψε:
>  
>
>>Yparxei kapoio script h' programma pou na metatrepei
>>filenames  apo ena charset se allo ?
>>Px: iso8859-7 se UTF8?
>>
>>Prospathisa na to kanw me tin xrhsh tou luit me:
>>    
>>
>
>man recode 
> recode iso8859-7..utf8 to_arxeio
>
>Πρόσεχε, γιατί το αποτέλεσμα γράφεται στο ίδιο αρχείο..
>
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20030602/e42caf61/attachment.htm>


More information about the Linux-greek-users mailing list