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

Why Android's Winning The Battle Right Now

Without a doubt, the key technological revolution of our time has been the rise of mobile computing. With iOS and Android leading the charge, the way people communicate has been transformed. Of course the most significant competition in the space is the one between the two dominant mobile platforms: Google and Apple. Together, they make up the lion’s share of the mobile market. The fierce competition between the two has been the driving force behind the incredible pace of development and innovation the market has seen. Read more

Linux Kernel Source Code of BQ Aquaris E4.5 Ubuntu Edition Published on GitHub

Some of you might be aware of the fact that about a week ago, on March 18, Carsten Munk, Chief Research Engineer at Jolla, published an interesting article on his blog, where he claimed that BQ is not offering a GPL license for the Linux kernel that powers the BQ Aquaris E4.5 Ubuntu Edition device. Read more

Google makes deploying software on its cloud a trivial task

Google is offering a new incentive for using its Google Compute Engine. With Google Cloud Launcher, you can launch more than 120 popular open-source packages. Read more

Linux Kernel 3.19.3 Arrives with ARM, ARM64, and IPv6 Fixes, Many Updated Drivers

Greg Kroah-Hartman has announced today, March 26, the immediate availability for download of the third maintenance releases for Linux 3.19 kernel, along with Linux kernels 3.14.37 LTS and 3.10.37 LTS. Additionally, Linux kernel 3.18.10 LTS has also been announced a couple days ago. Read more