Converting .flac files to .mp3
A solution to convert .flac files to .mp3 files from the command line:
- install
lameandflac; - move the
.flacfiles into one directory; - from that directory, run the following bash script:
for file in *.flac;
do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3");
done
On Mac OS X, the most convenient options to install lame and flac are:
- compiling from source to install lame;
- the Flac tools package to install
flac.