[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Mking copy of the borg's stuff
On Mon, May 29, 2000 at 04:26:09PM +1000, Terry Collins wrote:
> I need to make a copy of win98 CD for offsite backup purposes.
Why not just make a binary image copy? See the attached script for
details.
Cheers,
John
--
whois !JC774-AU@nospam.whois.aunic.net
#!/bin/sh
if [ -f /cdimage/cdimage.dat ]
then
rm -f /cdimage/cdimage.dat
if [ -f /cdimage/cdimage.dat ]
then
echo "Cannot delete /cdimage/cdimage.dat"
exit 1
fi
fi
eject /dev/scd1
echo -n "Insert original CD into /dev/scd1, press return to start "
read reply
echo "Copying CD image ..."
dd if=/dev/scd1 of=/cdimage/cdimage.dat
eject /dev/scd1
echo -n "Insert blank CD into /dev/scd1, press return to start burn "
read reply
echo "Burning CD ..."
cdrecord -v dev=4,0 speed=4 /cdimage/cdimage.dat
eject /dev/scd1