Language Selection

English French German Italian Portuguese Spanish

Solution: Converting flac to mp3

Filed under
HowTos

Sometimes you need to convert a load of flac files to mp3's, for example when wanting to listen them on your mp3 player. This solution contains a single line of bash that'll convert all flac files in the current directory to mp3's, keeping the flac files.

Note that you will need flac and lame for this to work. Run the following line in the directory where the flac files are:

[rechosen@localhost ~]$ for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done

This will output the mp3 files in the same directory as the flac files. If any of the mp3 files that's being created already exists, it will be overwritten. When the conversion has finished, you can copy the mp3 files to an other location like this:

Full Story.

More in Tux Machines

Devuan Beta, Stumbling Tumbleweed, Ubuntu Too

Today in Linux news Debian-fork Devuan is forging ahead with its plans to create a distribution offering init freedom by releasing a beta for testers. Douglas DeMaio posted today that openSUSE Tumbleweed snapshots have halted due to glibc upgrade rebuilds. Dedoimedo reviewed the BQ Aquaris M10 and liliputing.com posted of another Ubuntu laptop for sale. And finally, the Hectic Geek reviewed Ubuntu 16.04 and Neil Rickert reviewed Kubuntu 16.04. Read more Also: Devuan releases beta Devuan Jessie - beta release announcement

Devuan Jessie beta released

dear Init Freedom Lovers, once again the Veteran Unix Admins salute you. As promised two years ago with the first declaration of Exodus from Debian, today we can proudly state: we do not go gentle into that good night. Now has come the time to announce the Beta release of Devuan. Debian GNU+Linux is a fork of Debian without systemd, on its way to become much more than that. This Beta release marks an important milestone towards the sustainability and the continuation of Devuan as an universal base distribution. Read more Also: Beta Released Of Devuan, The Systemd-Free Version Of Debian

GNOME News

Today in Techrights