Microsoft, you suck

Yet again, one of the many reasons I use Linux:


Batch convert audio files using sox in one line

Because I keep forgetting this one, I’m posting this on my own blog:

for i in *.WAV
sox -t mp3 $i new-files/$(basename $i)

change the options in the command line appropriate to what you’re trying to do, create a directory called ‘new-files’ and let-er-rip.