În data de 11-10-2002, la 13h 04'54", Victor Schillinger (victor) scria către rlug, 
despre "[rlug] Clonat CD-uri pe LINUX":
> Stie cineva un programel (script) cu care se pot clona sub Linux (de preferat in 
>consola) CD-uri protejate ?
> Mercic anticipat si scuze daca s-a mai discutat,
> 

Nu stiu de CD-uri protejate. In ce sens protejate?

Uite un script: copy_cd
#################### begin here ###################
#!/usr/bin/tcsh

echo "This script reads and copy CD's"

citeste: 
while (1)
echo "Please insert CD to be copied. Press Enter key when ready or q to quit."
set line = "$<"
if ( "$line" == "q" ) goto gata
if ( "$line" == "" ) break
echo "You typed: '$line'. Please try again!"
end

echo "Preparing image..."
mkisofs -l -L -no-bak -o /tmp/image.iso -r -v /cdrom
echo "Image is ready."

scrie: 
while (1)
echo "Please insert CD blank. Press a key when ready or q to quit."
set line = "$<"
if ( "$line" == "q" ) goto gata
if ( "$line" == "" ) break
echo "You typed: '$line'. Please try again!"
end

echo "Writing image..."
cdrecord -v speed=10 dev=0,0,0 /tmp/image.iso
echo "Image writen."

while (1)
echo "Please choose from: q -> quit, a -> make another CD, c-> copy other CD, e-> exit"
set line = "$<"
if ( "$line" == "e" ) break
if ( "$line" == "q" ) goto gata
if ( "$line" == "a" ) goto scrie
if ( "$line" == "c" ) goto citeste
echo "'$line' is a bad choise. Try again."
end


echo "Done."
rm /tmp/image.iso

gata: 
echo "Bye."
###################### end here ###################

Succes,
        Mugurel
---
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui