|
Loading...
|
lfs-chat@linuxfromscratch.org
[Prev] Thread [Next] | [Prev] Date [Next]
Re: ripping audio CD's Rainer Peter Feller Fri Aug 29 02:34:10 2003
On Fri, 29 Aug 2003, Cedric wrote: > Hi, I have ripped a number of audiocd's with a combination of cdparanoia and > lame > > I use the following script: > > cdparanoia -d /dev/scd2 -B 1 && lame track01.cdda.wav && rm track01.cdda.wav > cdparanoia -d /dev/scd2 -B 2 && lame track02.cdda.wav && rm track02.cdda.wav > > This works fine, but how do i create a script that can do this: > > Check out how many tracks are on the CD > Check how many tracks are already converted > Convert the rest into mp3 without cashing the .wav on the harddrive > > > Thanks for your time and attention, > > Cedric O.K. this does not look for already convertrd titles ... --- #!/bin/bash TITLES=$(cdparanoia -p -d /dev/sg0 -v 0 - 2>&1 | tail -n 13 | head -n 1 |cut -d '.' -f 1) for i in $( seq -w 1 $TITLES ) do cdparanoia -p -d /dev/sg0 -v $i - | lame -h - $i.mp3 done --- H CUH Rainer Peter Feller H
- ripping audio CD's Cedric 2003/08/29
- Re: ripping audio CD's Rainer Peter Feller 2003/08/29 <=
- Re: ripping audio CD's Rainer Peter Feller 2003/08/29