Sebastian's personal website

TIL: convmv

Written by Sebastian Dümcke on
Tags:

Since ingesting disks that were in different computers with different operating systems, sometimes the encoding used for the filenames are different. The nifty convmv utility can change the encoding of filenames. It is used like so to convert from latin-1 Windows encoding to utf-8:

convmv -f latin-1 -t utf-8 -r /root/of/path

It prints information on the filename encoding and whatever changes it will do. It will not perform any renaming until you re-run the command by adding the --no-test flag.