Here’s a quick post with few quick and dirty commands for creating/burning cd/dvd from the command line.
Graphical tools are nice but even boring and slow, if you’ve few bash scripts you’ll see how fast you can handle with CDs with no worry
Here’s what I do to create an ISO, let’s take an example, you’ve a dir full of Virtual machines, images or whatever you want, let’s create an ISO from it
~$ cat bin/iso.create
mkisofs -V ‘label’ -A ‘label’ -R -joliet-long -o ‘image.iso’ $1
This script takes directory name as input an creates an iso “image.iso” ready for storing or burning
Here’s what I do for burning a DVD/CD
~$ cat bin/iso.burn
sudo cdrecord -eject -verbose $1 -dev=/dev/cdrw
Script takes ISO filename as first parameter so you can burn easily for favorite CD distro without too much troubles, /dev/cdrw is the name of your dvd/cd burner, after finishing its job the cd is ejected so you can see it
Hope it helps
Ben