Name

cdrw

Synopsis

    cdrw [options] commands |files

Read and write CDs and DVDs. cdrw can write CD-RW, DVD-RW, and DVD+RW media for data, and read and write audio data for music CDs. Options let you specify devices and control the way in which data are written to writable media. Images for data CDs and DVDs are usually prepared using mkisofs.

Without -C, the default capacities for writable CD media are assumed to be 74 minutes for an audio CD, 681,984,000 bytes for a data CD, and 4.7 Gbytes for a DVD.

Options

-a

Create an audio CD. Audio CDs are limited to 99 tracks, so no more than 99 files may be provided. Audio files should be in one of the following formats:

AUR

.aur files with raw audio data in big-endian format

CDA

.cda files with raw audio data (16 bit PCM stereo at 44.1 KHz sample rate, in little-endian format)

RIFF

.wav files with data in Red Book CDDA format

Sun

.au files with data in Red Book CDDA format

-b blanktype

Blank (erase) CD-RW and DVD-RW media. The blanktype should be one of all, fast, or session. DVD+RW media does not support blanking but can be rewritten without it.

-c

Copy a CD. By default cdrw uses the CD writer as the CD reader, and stores the data temporarily on the local hard disk. Use -s to specify a different source device.

-C

Use the amount of space reported by the drive as the capacity of the media. Useful when appending to a multisession CD.

-d device

Use device as the CD or DVD writer.

-h

Print a usage message.

-i file

Use file as the image to ...

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.