Musik-CDs kopieren

Script um Audio-CDs zu kopieren:

#!//bin/bash 
DEV=/dev/sr0
cd /tmp
cdrdao read-toc --fast-toc --device $DEV cd.toc 
cdparanoia -v -d $DEV -Z 1- data.wav 
eject $DEV 
cdrdao write --device $DEV --speed 8 cd.toc 
eject $DEV 
rm data.wav 
rm cd.toc