Skip to content →

convmv:转换编码

文件名可以用convmv来转换

convmv -f gb2312 -t utf8 -r –notest *
-r表示包含所有子目录
不加–notest就表示只看看有什么需要转换的,不做实际转换

可以在http://j3e.de/linux/convmv 下载

 

Published in Linux

Comments

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.