mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
516 B
Plaintext
18 lines
516 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|