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

Keeping up the fight for free software

Here's John Sullivan's vision for a more just world: You pop into your favorite electronics retailer and encounter a panoply of new gadgets, each one more alluring and astounding than the last—and each one guaranteed to respect your freedom. Your freedom to inspect its software. Your freedom to modify that software. Your freedom to have that software collect only the data you wish. Read more

This Linux computer may be smaller than a coin, but it packs some big computing power

Whether you think they’re a novelty, sneaky powerful, or just seriously cute, microcomputers are here to stay. Find out what all the fuss is about with the versatile, ultra-adaptable VoCore 2 Linux mini computer, paired with an Ultimate Dock for just $42.99. If you’ve never experimented with a microcomputer like the VoCore 2, you may be surprised by how much you can do with this tiny open source computer and wireless router. The VoCore 2’s 580 MHz processor is ready to handle almost any coding plan, including Java, JavaScript, Python, and Ruby projects. Read more Also: Daily Deal: VoCore2 Mini Linux Computer And Ultimate Dock

Nantes: Open source cuts off recurring charges

Switching to open source means the end of the periodic recurring charges from proprietary software vendors, says Eric Ficheux, change management specialist at Nantes Métropole, France’s 6th largest city. “The total cost of ownership of LibreOffice is far lower than of its proprietary predecessor”, he says. Read more

LinuxAndUbuntu Review Of Gentoo Linux - A Linux Distro For Advanced Users

Many people think that Gentoo is just another Linux distro, but it is wrong. Gentoo Linux is a special, different and powerful Linux distribution, because it isn’t like other systems that have pre-compiled software and tools for easy management, in Gentoo the user must configure everything. Read