OK, you guys check me on this. If you have ogg123 and lame installed, cd to the directory with the .ogg files and:
for i in *.ogg; do ogg123 -d wav -f - "$i" | lame -b 320 -h - > "$i".mp3; done
I'm at work, so I can't check this now. They make us use M$.