mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 08:53:21 +00:00
Update cheatsheets
This commit is contained in:
17
convmv
Normal file
17
convmv
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user