前阵子写的小脚本:
convall.sh
***************************
#!/bin/bash
for i in `find ./ -type f`;
do
echo $i;
iconv -f utf8 -t gb18030 $i > tmpfile;
cp tmpfile $i;
rm tmpfile;
done
***************************
前阵子写的小脚本:
convall.sh
***************************
#!/bin/bash
for i in `find ./ -type f`;
do
echo $i;
iconv -f utf8 -t gb18030 $i > tmpfile;
cp tmpfile $i;
rm tmpfile;
done
***************************