Wednesday, April 9, 2008

Convert .flac files into .mp3

In order to convert .flac to .mp3, you'd need to do the following: first cd into the directory with the .flac files, then
for x in *.flac ; do OUTF=`echo "$x" | sed s/\.flac$/.mp3/g` ; flac -c -d "$x" | lame -m j -q 0 -V 0 -s 44.1 - "$OUTF" ; done

5 comments:

  1. Thanks a lot, this is very usefull for me :-)

    ReplyDelete
  2. I'm glad it helps :)

    There is something that I've been bumping into lately - what to do when you want to mass-convert tons of music files from one format to another. I will have to come up... these days... with something which preserves the IDv3 tags for mp3s, regardless of the conversion type.

    ReplyDelete
  3. Thank you so much!!!

    ReplyDelete
  4. great you can download this software for helping in coveting purpose http://www.softfoxy.com/2015/09/download-flac-to-mp3-converter-latest.html

    ReplyDelete