I was at my friends house and we wanted to make 'backups' of eachothers cd collections (UH... it's not perfect and I wont trouble shoot it) You need eject cdrdao and cdparanoia... and perl (DUH!)
#!/usr/bin/perl -w #this nibble of perl makes CDs.. use strict; die "usage: <speed> <z-paranoid off>" unless (@ARGV == 1 or 2); #my $dev = shift; #my $type = shift; my $speed = shift; my $paroff = shift; # Open Info print "Audio Clone Software: For Audio CD's Only (That you own)\nXXX M +usic will rip faster. This software is for making\nBackups for your l +arge cd collections, so that when 'we'\nBreak in to your car and rip +you off that you will still\nhave the originals in your house stored +safley away.\n(we dose not imply 'us')\n"; # Loop Mode GRIN my $a = ""; until ($a) { #insert CD #system "eject /dev/scd0"; beep(); print "Insert a CD (to rip) you lazy jackass, then hit enter"; my $unused = <STDIN>; #read CD to file print "What is the name of the CD (That you own): "; my $name = <STDIN>; chomp $name; if ($paroff eq "z") { system "cdparanoia -d /dev/scd0 1- data.wav";} unless ($paroff) { system "cdparanoia -Z -d /dev/scd0 1- data.wav";} #make TOC from CD system "cdrdao read-toc --device 0,0,0 --driver generic-mmc --fast-toc + \'$name.toc\'"; #eject CD print "put in a blank CD-R, then hit enter: JackASS!"; system "eject /dev/scd0"; beep(); $unused = <STDIN>; #write TOC system "cdrdao write --device 0,0,0 --driver generic-mmc --speed $spee +d --eject \'$name.toc\'"; # Another beep(); print "Want to stroke it again? (y/n) "; die if ( ($unused = <STDIN>) eq "n\n" ); } sub beep { system "echo "; }
And yeh I know if I use cdrdao with the read-cd option that it will work with data tracks and this way it won't... But then Cd-Paranoia would not take care of the cd fuckup$.

2001-06-16 Edit by Corion : Added formatting


In reply to Audio CD Clone by x2studios

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.