At the moment I have no CD drive in my main Linux computer. As a result I can’t use my favourite CD ripping program (which is //jack//, for the record). I have a CD drive on my work laptop which unfortunately runs WinXP, so it can only produce WMA.

So, I use Windows Media Player to extract the tracks to lossless WMA, then I copy them over to the Linux server and convert them as such:

 for i in * ; do mplayer -ao pcm "$i"; mv audiodump.wav "$i.wav"; done
 oggenc *.wav
 rm *.wma *.wav
 rename s/.wma// *

and I’m left with the same files as OGG instead of WMA. Straightforward, almost.