Ogg2mp3 is a new script that I adapted from a flac2mp3 script I found elsewhere online. The script allows for you to convert an entire directory of ogg files into their similar MP3 version. This helps those who have MP3 device and players, which do not include support for OGG files. Anyways, I put the script on my GitHub account, and I’m willing to accept pull requests if they improve the script.
Repository: https://github.com/monksy/ogg2mp3
To use this script give the script execute privileges, navigate to the folder which contains the OGG files that you want to convert and run the script. The script will traverse the current directory, and all of the sub –directories within. From there it will convert the OGG file into a MP3 file with the same filename and metadata.