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

Ubuntu 17.10 Users Get Major Kernel Update, 20 Security Vulnerabilities Patched

If you're using the latest Ubuntu 17.10 (Artful Aardvark) operating system on your personal computer, you should know that it received it's first major kernel update since the official release back in October 19, 2017. The update addresses a total of 20 security vulnerabilities for Ubuntu 17.10's Linux 4.13 kernel packages, including the Raspberry Pi 2 one. Among the security issues patched in this update, five are related to Linux kernel's USB subsystem, including a use-after-free vulnerability, which could allow a physically proximate attacker to crash the affected system by causing a denial of service (DoS attack) or possibly execute arbitrary code. Other three are related to the ALSA subsystem, including a race condition. Read more

Samsung DeX will finally give life to the Linux smartphone

Remember when Canonical was doing everything they could to bring convergence between the Linux desktop and the Ubuntu Phone? They worked tirelessly to make it happen, only to fall short of that goal. This effort was preceded by Ubuntu Edge—a smartphone that, by itself, would bridge the mobile device and the desktop. That failed as well, but the intent was the same. For those that aren't familiar, the idea behind convergence is simple: Offer a single device that could serve as both a smartphone handset, and when connected to a monitor work as a standard desktop computer. The idea is quite brilliant and makes perfect sense. Especially when you remember how many people use a smartphone as their only means of either connecting to the world or productivity. With that number growing every year, the idea of convergence becomes even more important. Give them one device that could function in two very important ways. Read more Also: Samsung Galaxy S8 Icon Theme for KDE Plasma

today's howtos

PINE64 PINEBOOK Review — Is This $89 Linux Laptop Worth it?

A while back, there were articles circulating about the “World’s Cheapest Laptop,” but they really weren’t accurate. The PINEBOOK weighs in at $89USD for the 11″ model and $99USD for the 14″ model. But, can a sub-$100 laptop, new or used, really be worth it? It would almost be unanymously be argued not, but the PINEBOOK makes a very compelling case. Let’s tell you about it in detail. PINE64, the company behind the first budget/hobbyist 64bit single board computer by the same name, has started offering a lot more in the alternative computing arena. They have a wide variety of inventory on their website containing all sorts of odds and ends in addition to the flagship offerings. Everything a tinkerer might need, from microSD cards to USB wifi, USB ethernet, even power over ethernet broken-out into a DC barrel adapter and LCD panels, all for very appealing prices. Read more Also: Surface Book 2 can’t stay charged during gaming sessions