horst wrote:
> I need to burn data to a CD from Knoppix(most recent Knoppix version
> avail. --or older version if needed for whatever reason)
> I realize, I never had to fiddled with CD/DVD burning from the command
> line ...Or maybe I just don't see what I should be looking for in the
> Knoppix/KDE dropdown... (silly)
Look for K3B in the Multimedia menu. That seems to be the
KDE-standard burning app.
But that's not what I use. I use this script to copy .iso files to
CD-RW. It burns the CD, then reads it back and compares it to the
original.
~> cat bin/burncd
#!/bin/sh -e
case "$#-$1" in
1-*.iso) ;;
*) echo "usage: $0 file.iso" >&2; exit 1;;
esac
bytes="`stat --format=%s \"$1\"`"
sectors="`expr $bytes / 2048`"
eject -t
sudo cdrecord -tao "$1"
readcd f=- sectors=0-$sectors | cmp - "$1"
eject
Feel free to adapt it to your needs. (-:
You can edit /etc/default/cdrecord to specify the default drive(s) to
use, record speed, etc., or you can pass them in on the command line.
# cdrecord dev=ATAPI:0,0,0 speed=40 ...
--
Bob Miller K<bob>
[EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug