Language Selection

English French German Italian Portuguese Spanish

CLI Magic: Convert file names to a different encoding with convmv

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. Most Linux distributions offer packages for convmv, and you can also find it in the FreeBSD ports and NetBSD pkgsrc. Manual installation is fairly easy since the program depends only on Perl, which is installed by default on virtually all Linux distributions and BSD variants; running make install will install the program in /usr/local/bin and its man page in /usr/local/share/man/man1.

Full Story.

More in Tux Machines

GNOME Tracker 1.4 Gets Its First Point Release with Dozens of Improvements and Fixes

Martyn Russell, the developer of the Tracker semantic data storage software for desktop and mobile devices used by default on the GNOME desktop environment, announced the release of the first maintenance version for Tracker 1.4. Read more

blackPanther OS 14.1 (Walking Dead) Unleashed Worldwide, Download Now - Video

The development team behind a very old GNU/Linux operating system, blackPanther OS, had the great pleasure of announcing the immediate availability for download of version 14.1 of their 13-year old distribution, dubbed Walking Dead. Read more

Benchmarking Debian GNU/Hurd 2015 vs. GNU/Linux

After a reminder this week from a Phoronix Premium member about some fresh Debian GNU/Hurd benchmarks, here are some fresh results comparing this version of Debian with the Hurd kernel instead of the Linux kernel. The results for this comparison are done against Debian GNU/Linux Wheezy. For those unfamiliar, Debian GNU/Hurd is the GNU user-land but running atop Hurd -- similar to Debian GNU/kFreeBSD being powered by the FreeBSD kernel. On the topic of Debian GNU/kFreeBSD, I'll probably run a fresh kFreeBSD vs. Linux comparison again soon. Read more

Andalusia revamps its free software desktop

The government of Spain’s Andalusia has revamped its free and open source desktop, aimed to become the region’s standard configuration for workstations and laptops. The overhaul focussed on IT management, system integration, support and system scalability. The new standard corporate desktop, GECOS - Guadalinex Escritorio COrporativo eStandar, is designed to handle tens of thousands of workstations. Read more