HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

convmv — Convert filenames (NOT file content) from one encoding to another. More information: <https://www.j3

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilenamesconvertcontentclifileconvmvnot

Problem

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

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/convmv

Revisions (0)

No revisions yet.