System Administration Guide: Basic Administration

How to Copy a CD

This procedure describes how to extract all the tracks from an audio CD into a directory and then copy all them onto a blank CD.


Note –

By default, the cdrw command copies the CD into the /tmp directory. The copying might require up to 700 Mbytes of free space. If there is insufficient space in the /tmp directory for copying the CD, use the -m option to specify an alternate directory.


  1. Insert an audio CD into a CD-RW device.

  2. Extract the tracks from the audio CD.


    $ mkdir music_dir
    $ cdrw -c -m music_dir
    

    An Extracting audio ... message is display for each track.

    The CD is ejected when all the tracks are extracted.

  3. Insert a blank CD and press Return.

    After the tracks are extracted, the audio CD is ejected, and you are prompted to insert a blank CD.

Example—Copying a CD

This example describes how to copy one CD to another CD. You must have two CD-RW devices to do this task.


$ cdrw -c -s cdrom0 -d cdrom1