The power of GNU/Linux comes from the command line. It gives you ultimate control, understanding, and mastery over your computer.
Burning CDs and DVDs is quite simple.
To burn some files to a blank DVD, making the DVD multisession and appendable, with the common ISO9660 volume with Joliet and Rock-Ridge extensions, assuming let's say you have some avi movies in the current directory:
| $ growisofs -Z /dev/dvd -R -J *avi |
To append more avi movies from the current directory to the same DVD:
| # umount /dev/dvd |
| $ growisofs -M /dev/dvd -R -J *avi |
Make sure to note the difference: in the first case the option is -Z, in the second it's -M
Make also sure to use the same options for both initial burning and when appending data.
To finalize the multi-session DVD maintaining maximum compatibility:
| # umount /dev/dvd |
| # growisofs -M /dev/dvd=/dev/zero |
To burn an ISO-image to a blank DVD:
| $ growisofs -dvd-compat -Z /dev/dvd=image.iso |
To burn an ISO-image to a blank CD:
| $ wodim -v dev=/dev/cdrom image.iso |
To identify the dev=... address for the above step:
| $ wodim —scanbus |
To burn arbitrary data to a blank CD:
| $ genisoimage -R -J -o output_filename.iso input/directory |
To burn it in one step, without creating a temporary ISO-image:
|
To burn wav files to create an audio CD:
$ wodim -v dev=0,0,1 -audio -pad -dao .wav
To burn *mp3 files to create an audio CD:
| $ for i in .mp3; do lame −−decode $i `basename $i .mp3`.wav; done |
| $ wodim -v dev=0,0,1 -audio -pad -dao *.wav |
To burn *ogg files to create an audio CD:
| $ for i in .ogg ; do ogg123 −d wav −f `basename $i .ogg`.wav $i; done |
| $ wodim -v dev=0,0,1 -audio -pad -dao .wav |