LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1090|回复: 4

有GB18030与utf-8文件名的批量转换程序吗?

[复制链接]
发表于 2004-11-17 15:14:02 | 显示全部楼层 |阅读模式
原来建立的一大堆文件,中文文件名用GB18030编码,现在转到utf-8,大堆乱码。汗!!
发表于 2004-11-17 15:19:04 | 显示全部楼层
用个脚本。。。
发表于 2004-11-17 16:46:40 | 显示全部楼层
  1. $ apt-cache show convmv
  2. Package: convmv
  3. Priority: optional
  4. Section: utils
  5. Installed-Size: 88
  6. Maintainer: Raphael Zimmerer <killekulla@rdrz.de>
  7. Architecture: all
  8. Version: 1.08-1
  9. Depends: perl
  10. Filename: pool/main/c/convmv/convmv_1.08-1_all.deb
  11. Size: 17492
  12. MD5sum: 3d51d3bc965846225b9a32ee9ea577af
  13. Description: filename encoding conversion tool
  14. convmv can convert a single filename, a directory tree or all files
  15. on a filesystem to a different encoding. It only converts the
  16. encoding of filenames, not files contents. A special feature of
  17. convmv is that it also takes care of symlinks: the encoding of the
  18. symlink's target will be converted if the symlink itself is being
  19. converted.
  20. .
  21. It is also possible to convert directories to UTF-8 which are already
  22. partially UTF-8 encoded.
  23. .
  24. Keywords: rename, move
复制代码
 楼主| 发表于 2004-11-17 17:58:59 | 显示全部楼层
真是太感谢了,一次搞定!!!
发表于 2004-11-17 18:54:25 | 显示全部楼层
[php]sunmoon1997@myworkstation ~ $ esearch convmv
[ Results for search key : convmv ]
[ Applications found : 1 ]

*  app-text/convmv [ Masked ]
      Latest version available: 1.05
      Latest version installed: [ Not Installed ]
      Size of downloaded files: [no/bad digest]
      Homepage:    http://j3e.de/linux/convmv
      Description: convert filenames to utf8 or any other charset
[/php]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表