Friday 21 November 2008

flac to mp3

problem: downloaded 'king of leon - because of the times', and all in flac format

what im not doing: just leaving it, got a cheapo mp3 player that doesnt support flac (i know flac is lossless and so much better, but needs must). im also installing nothing with a gui, not needed!


installed on ubuntu, flac & lame

sudo apt-get install lame flac

get into the terminal and navigate to dir with files for convertion. a wee for loop should sort it out

for i in *.flac; do $(flac -dc "$i" | lame -h "$i.mp3"); done;

point - could have stuck in a bit of magic to chop off .flac from resulting mp3 (something.flac.mp3) but no curly braces on wee boys keyboard!

No comments: