The post is in English because it might interest other people than just Romanians.
This is a very simple bash script that can be used to batch convert flac files to mp3, so you can use them on your favorite “no flac” mp3 player. It decodes all flac files to wav, then uses lame to encode them as mp3.
The script requires flac and lame installed. It keeps the file name and changes only the extension. It does not keep any ID3 tags and does no checking or error correction. Just download the script, make it executable and run it from any directory containing flac files:
$ /path/to/flac2mp3.sh
You will get a mp3 file with the same name for each flac.
Download: flac2mp3.sh
Enjoy
Related posts:







another way to do it :
for j in *.flac; do flac -cd “$j” | lame -h – “`basename “$j” .flac`”.mp3; done
Nice! One liner too
Thanks!
[...] Step 3 (not mandatory). You can continue by converting the flac files to mp3. [...]