linux操作系统 convmv命令手册

convmv

Convert filenames (NOT file content) from one encoding to another. More information: https://www.j3e.de/linux/convmv/man/.

  • Test filename encoding conversion (don't actually change the filename):

convmv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}

  • Convert filename encoding and rename the file to the new encoding:

convmv -f {{from_encoding}} -t {{to_encoding}} --notest {{input_file}}