//View Tip #510
Similar Tips
» Kill matching processes
» Remove every file but one
» Check low space
» Get latest stable version of the Linux kernel
» Random password generator.

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
My little "iso2cd" alias. Not clean, but handy. The Burning device will be auto detected.

example call:
iso2cd debian_lenny_final.iso

alias iso2cd="cdrecord -s dev=`cdrecord --devices 2>&1 | grep "\(rw\|dev=\)" | awk {'print $2'} | cut -f'2' -d'=' | head -n1` gracetime=1 driveropts=burnfree -dao -overburn -v"


View Comments »




Comments 

Add your comment

Comments are currently disabled
Simon
wodim/cdrecords can do this all on its own nowadays.
`cdrecord file.iso` will work just fine.
Posted 2009-02-09 18:00:01
Create your ISO:

$ readom dev=/dev/scd0 f=/path/to/image.iso

Burn your ISO:

$ wodim -v -eject /path/to/image.iso

Done. Also, the use of backticks is hideous. If you need command nesting, use $() instead.
Posted 2009-03-08 13:56:48

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit