Ubuntu – bulk/batch convert mp3 files to ogg via command line

convertmp3

is it possible to convert mp3 to ogg via command line?

I'd like to just in a bulk swoop convert my mp3 files to ogg so i can play them in firefox without any issues.

Best Answer

Searching for packages matching ogg, I found dir2ogg which seems to be exactly what you want. Just

sudo apt-get install dir2ogg
dir2ogg -r /path/to/mp3s/

And it recursively finds and converts all mp3 files under /path/to/mp3s/ to ogg (assuming I read the manual correctly).