Linux.com: CLI Magic: Convert File Names to a Different Encoding with convmv
Dec 12, 2006, 12:15 (0 Talkback[s])
(Other stories by Manolis Tzanidakis)
"Recent versions of most Linux distributions support non-English
languages out of the box by using the Unicode standard. I was
pleasantly surprised when I found out that I was able to read and
write in Greek--my native language--on a fresh Ubuntu Edgy Eft
installation without any manual intervention. Unfortunately, my
happiness lasted only until I tried to open files with Greek file
names. Instead of Greek characters I saw garbage. I've been using
the 8-bit ISO 8859-7 encoding for Greek file names, and since it
worked well I was too lazy to convert my systems to Unicode.
Manually renaming hundreds of files in order to convert them to
Unicode was not an option; I needed some kind of automation. Convmv
is the right tool for that job.
"Convmv is a Perl program that converts file names and
directories between different character encodings. It converts only
the file names, not the content of the files, and can also convert
a whole filesystem, including symlinks..."
Complete
Story
Related Stories: