bash - enhanced burn
Since we are dealing more with usb devices, the good old optical burning is not used that often. I created a simple function with an alias of "burn" to write a iso file as quick as possible to my optical storage device.
#### # burns given iso file # # @author stev leibelt # @since 2013-02-12 #### function net_bazzline_burn () { if [[ $# -lt 1 ]]; then echo 'No valid argument supplied.' echo 'Try net_bazzline_burn $isoFile [$opticalDevice]' exit 1 fi if [[ $# -eq 1 ]]; then sudo wodim -v dev=/dev/cdrom "$1" else sudo wodim -v dev=/dev/"$2" "$1" fi }This is available to my shell function on github.com.
Comments
Display comments as Linear | Threaded