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 Recipes and Outreachy

  • Recipes for you and me
    Since I’ve last written about recipes, we’ve started to figure out what we can achieve in time for GNOME 3.24, with an eye towards delivering a useful application. The result is this plan, which should be doable.
  • Outreachy (GNOME)-W5&W6
    My plan was altered in this two-week, because the strings of GNOME 3.24 have not frozen yet and the maintainers of Chinese localization group told me the Extra GNOME Applications are more necessary to be translated than documents, so I began to translate the Extra GNOME Applications (stable) during this period.
  • [Older] Outreachy (GNOME)-W3&W4
    During this period, I finished the UI translation of GNOME 3.22, I’m waiting to reviewed and committed now, and I met some troubles and resolved them these days.

Home Recording with Ubuntu Studio Part One: Gearing Up

Twenty years ago, the cost of building a studio for the creation of electronic music was pricey, to say the least. The cost of a computer that was suitable for multimedia production could cost the average musician between $1,000 and $2,000. Add in the cost of recording software, additional instruments and equipment, and one could easily spend between $5,000 and $10,000 just to get started. But nowadays, you do not have to break the bank to start making music at home. The price of personal computers has dropped substantially over the past two decades. At the time of this writing, it is possible to get a notebook PC that’s suitable for audio production for around $500. Other pieces of equipment have also dropped in price, making it possible to build a functional recording studio for around $1,000. (Read the rest)

Leftovers: Gaming

Red Hat and Fedora