Script cdCopy.sh

From campisano.org
Jump to navigation Jump to search
#!/bin/bash



echo
echo copia un cd come consigliato nel manuale di cdrecord:
echo
echo       To copy a CD in clone mode, first read the master CD using:
echo
echo           readcd dev=b,t,l -clone f=somefile
echo
echo       "or (in case the CD contains many sectors that are unreadable by intention) by calling:"

echo
echo           readcd dev=1,0 -clone -nocorr f=somefile
echo
echo       will create the files somefile and somefile.toc.  Then write the CD using:
echo
echo           cdrecord dev=1,0 -raw96r -clone -v somefile
echo
echo
echo

sleep 1s



readcd dev=0,0,0 -clone -nocorr f=cdCopied.raw || exit -1
echo
echo per masterizzare il cd, eseguire il seguente comando
echo cdrecord dev=0,0,0 -raw96r -clone -vvv cdCopied.raw



# End