Note to self: Assume you have a set of subdirectories named CD01, CD02, and so on, each containing a single FLAC file and a single CUE file, here’s how to convert them to MP3:
for d in CD*; do cd $d for f in *.cue; do n=`basename "$f" .cue` echo xld -c "$n.cue" "$n.flac" xld -c "$n.cue" "$n.flac" -f mp3 done cd .. done
This uses XLD, also known as “X Lossless Decoder: Lossless audio decoder for Mac OS X”. Yay! 😄
#Music