Other GNU/Linux tips

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:

To append more avi movies from the current directory to the same DVD:

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:

To burn an ISO-image to a blank DVD:

To burn an ISO-image to a blank CD:

To identify the dev=... address for the above step:

$ wodim —scanbus

To burn arbitrary data to a blank CD:

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:

  • Convert the *mp3 files to wav:
    $ for i in .mp3; do lame −−decode $i `basename $i .mp3`.wav; done
  • Burn:
    $ wodim -v dev=0,0,1 -audio -pad -dao *.wav

To burn *ogg files to create an audio CD:

  • Convert the *ogg files to *wav:
    $ for i in .ogg ; do ogg123 −d wav −f `basename $i .ogg`.wav $i; done
  • Burn:
    $ wodim -v dev=0,0,1 -audio -pad -dao .wav

.