SEARCH

How-To Geek

How to Convert .flac Files into 192Kb MP3 Files

If you’ve got a whole folder of .flac files that you want to convert into MP3 files instead, you can do so with a simple command from the terminal—or if you’re using Windows, from a cygwin prompt.

find . -type f -iname '*.flac' | while read FILE; do FILENAME="${FILE%.*}"; flac -cd "$FILE" | lame -b 192 - "${FILENAME}.mp3"; done

This example uses the find command to look for all .flac folders from the current folder as well as subfolders, and then uses the lame utility to convert them.

Convert all .flac from a folder subtree in 192Kb mp3 [commandlinefu.com]

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 08/20/10

Comments (4)

  1. 6205

    or you can use Bonkenc

  2. jon_hill987

    Why 192? I mean if you want it to sound horrid just plug the headphones that came with your mp3 player/ipod into your PC.

  3. Loser

    192kbs is good enough..
    320is better of course,but I think there’s no obvious difference..

  4. Fred

    Much easier, and propably the best tool for this (drop and drag multiple files) is LamDropXPd from http://www.rarewares.org/mp3-lamedrop.php I have been using this for a very long time. You are able to set de decoding speeds to your liking.

Enter Your Email Here to Get Access for Free:

Go check your email!