#!/bin/bash var=`find .`for i in $vardo if [ -f "$i" ] then echo $i iconv -f GB2312 -t UTF-8 $i > tmp rm $i mv tmp $i fidone