Showing posts with label command line shell scriptiong. Show all posts
Showing posts with label command line shell scriptiong. Show all posts

Friday, April 18, 2008

Recursively convert encoding

for i in `find . -type f -print`;
do
iconv -f CP1251 -t UTF-8 $i -o $i.new;
mv -f $i.new $i;
done