|
|
Install the
lame utility as mentioned in this link
Use the following script to rip your AUDIO CD contents to .mp3 files
Copy these lines to a script file like convert2mp3.sh and add this
script file in your /usr/bin as root
#
Script to rip the Audio CD contents as mp3 files
#
requires the cdparanoia utility to work
#
cdparanoia utility converts the Audio CD contents to individual .wav
files and
#
script goes through each ripped .wav file and calls the lame utility to
convert
# them
as .mp3 files
cdparanoia
-B
for i
in `ls *.wav`
do
echo "Converting $i to MP3"
lame $i `basename $i .wav`.mp3
done
rm *.wav
Remember to give execute permission for the script as follows
chmod
755 /usr/bin/convert2mp3.sh
|
|