find *.* -exec sh -c "iconv -f GB18030 -t UTF-8 {} > {}.txt" \;
文件转换
sudo find ./ -name "*.h" | xargs dos2unix
find *.* -exec sh -c "iconv -f GB18030 -t UTF-8 {} > {}.txt" \;
文件转换
sudo find ./ -name "*.h" | xargs dos2unix
转载于:https://www.cnblogs.com/zhuqn/p/5391335.html