//View Tip #510
» BBC Weather
» Counts files in the current directory and subdirectory
» Count files by type v2
» Ignore an alias
Similar Tips
» Subtract one file from another» BBC Weather
» Counts files in the current directory and subdirectory
» Count files by type v2
» Ignore an alias
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"
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"
Comments
Add your comment
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.
$ 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


`cdrecord file.iso` will work just fine.