文件批量复制并转换内容编码

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

export SRC="/media/sdb13/tmp_transfer/123.name_UTF8_content_GB18030";
export DES="/ext/usr/convert/old_laptop.123.name_UTF8_content_UTF8";

echo "SRC=\"$SRC\"";
echo "DES=\"$DES\"";

date;
sh ./tfw_iconv_cp.sh "$SRC" "$DES" gb18030 utf8>tfw_iconv_cp.log 2>tfw_iconv_cp.err;
date;