Hi everybody, thanks to Stephaine, I took the time to code a scripting program cdcopy. It's freely distributed.
Copy the entire part beginning after the -- line. Open terminal/console. Type "vi", hit "i", paste, ESC & type ":wq" or "pico", paste, exit & save. Do
chmod 755 cdcopy
To run,
.cdcopy
P.S. You must change the write speeds according to your CD burner. Look at the numbering like 32x10x40 on the drive's front panel. 32x CDR burn speed. 10x CDRW burn speed. 40x read speed. Replace the numbers with the new ones like this:
before: cdrecord dev=0,0,0 speed=10 -v cd.iso;
after: cdrecord dev=0,0,0 speed=8 -v cd.iso;
There are only 2 lines that might need to be changed.
--
#!/bin/bash
#
# cdcopy
#
# This program copies a data CD to a CDR or CDRW.
# The only requirements are 650000 KB of disk space,
# a properly configured CD burner and a CDR/W.
#
# Original author:
jet_blackz@lycos.com
#
#
echo
echo "cdcopy 1.00a Copyright (C) 2002
jet_blackz@lycos.com"
if [ -e cd.iso ]; then
echo " Erasing old cache file..."
rm cd.iso
fi
df
echo -n " Do you have 650000 or more available disk space? (y/n):"
read ANS
if [ $ANS = "n" ] || [ $ANS = "N" ]; then
{ exit; }
fi
echo -n " Insert a data CD into the CD burner and hit Enter:"
read ANS
echo " Copying data CD..."
dd if=/dev/cdrom of=cd.iso
echo " If you don't see errors, copying is complete."
ls -l cd.iso
eject /dev/cdrom
pintMainCount=0
until [ $pintMainCount = 1 ]
do
pintCount=0
until [ $pintCount = 1 ]
do
echo -n " Are you inserting a CDR or CDRW? (r/w):"
read ANS
if [ $ANS = "r" ] || [ $ANS = "w" ]; then
{ let pintCount=1; }
fi
done
if [ $ANS = "w" ]; then
{
echo -n " Insert a CDRW and hit Enter";
read ANS
echo " Erasing CDRW...";
cdrecord dev=0,0,0 blank=fast;
echo " Writing data CD...";
cdrecord dev=0,0,0 speed=10 -v cd.iso;
}
else
{
echo -n " Insert a CDR and hit Enter";
read ANS
echo " Writing data CD...";
cdrecord dev=0,0,0 speed=32 -v cd.iso;
}
fi
echo " If you don't see errors, writing is complete."
echo -n " Do you want to make another copy of this CD? (y/n):"
read ANS
if [ $ANS = "n" ]; then
{ rm cd.iso;
exit; }
fi
done
exit 0