linux批量轉換編碼格式

遞歸建立目錄結構 find src -type d -exec mkdir -p pw_src/{} \;編碼 轉換編碼格式並保存到目標目錄 遞歸find src -name *.h -exec iconv -f UTF-8 -t GB2312 {} -o pw_src/{} \; 單個文件轉換 fileiconv -f GBK -t UTF-8 file1 -o file2
相關文章
相關標籤/搜索