前阵子写的小脚本:
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
***************************
2256
4092

被折叠的 条评论
为什么被折叠?