How Do I Burn MP3 onto an audio CD from Linux shell command prompt?

Posted on in Categories Howto, Linux, Linux desktop, Linux distribution, RedHat/Fedora Linux, Shell scripting, Tip of the day, Ubuntu Linux last updated November 30, 2007

Recently I decided to burn selected MP3 files on an audio CD from command prompt.

First, you need to convert your mp3 (myfile.mp3) into .wav (myfile.wav) file:
$ mpg123 -w myfile.wav myfile.mp3
Use above command to convert all files to mp3

Then burn all .wav file on to the CD
# cdrecord -dev=ATA:1,0,0 -eject speed=4 -pad -audio *.wav

For more information see: