Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 09:11:05 +0300
From:      "Andriy Galetski" <andriy@dr.trgz.lviv.ua>
To:        <questions@freebsd.org>
Subject:   Re: cd-to-cd copying...
Message-ID:  <003101bebc76$0dd3cde0$66582cc2@pc02.druzhba.com>

next in thread | raw e-mail | index | archive | help
On Mon, 21 Jun 1999, Ian Clendaniel wrote:

> Alright...couldn't find anything about this in the archive so I figured 
> I'd pose the question.  Does anyone know of an application (or even a 
> script) that can do direct cd to cd copying??...I'm talking an exact 
> duplicate of a cd.  I am able to burn (and re-burn) disks fine using 
> cdrecord and mkisofs but need the ability to make duplicates of existing 
> cds.  Anyone have an idea?

Hi!
I have SCSI Pinacle RCD 5040 and IDE CDROM drive on the same PC.
I use following script to duplicate cd2cd on te fly

--------------------------------------------------
# Script for cd duplicating
#
echo "1. - Test CD "
echo "2. - Test & Write CD"
echo "3. - Write only"
echo "----------------------"
echo -n "What do you want? [2]:> "
read sel_mod
case $sel_mod in
        1) cdrecord -v dev=2,0 speed=2 -dummy -isosize /dev/acd0c;
           cdrecord dev=2,0 -eject;;

        2) cdrecord -v dev=2,0 speed=2 -dummy -isosize /dev/acd0c;
           echo -n "Do you want to burn CD now (y/n) [y]:> "; read confirm;
           if [ "X${confirm}" != X"n" ]; then
                cdrecord -v dev=2,0 speed=2 -isosize /dev/acd0c
           fi;
           cdrecord dev=2,0 -eject;;

        3) cdrecord -v dev=2,0 speed=2 -isosize /dev/acd0c;
           cdrecord dev=2,0 -eject;;

        *) cdrecord -v dev=2,0 speed=2 -dummy -isosize /dev/acd0c;
           echo -n "Do you want to burn CD now (y/n) [y]:> "; read confirm;
           if [ "X${confirm}" != X"n" ]; then
                cdrecord -v dev=2,0 speed=2 -isosize /dev/acd0c
           fi;
           cdrecord dev=2,0 -eject;;
esac
exit 0
#--------------- end of the script -----------

Warning!!!
Maybe some changes neaded for you specific device name.

Best regards.
andriy@trgz.lviv.ua
--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003101bebc76$0dd3cde0$66582cc2>