Files
tldr/pages.zh/common/convmv.md

12 lines
414 B
Markdown

# convmv
> 将文件名(而不是文件内容)从一种编码转换为另一种编码。
> 更多信息:<https://www.j3e.de/linux/convmv/man/>.
- 测试文件名编码转换(实际不更改文件名):
`convmv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}`
- 转换文件名编码并将文件重命名为新编码:
`convmv -f {{from_encoding}} -t {{to_encoding}} --notest {{input_file}}`