Donnerstag, 20. Mai 2010

convmv - Convert encoding of filenames.

convmv is a perl script, which converts filenames from one encoding to another

i.e.:
$ convmv -f iso8859-15 -t utf-8 --notest *mp3

converts all mp3-files in the current directory  from iso8859-15 to utf-8.
--notest is needed to actually convert the filenames, otherwise convmv does a dry-run and only prints what it would do.

You can even convert a hole filetree (recursively) by adding the -r otpion.

It also checks if the encoding is already in utf-8 and aborts.