cdrdao command [options] toc-file

Write all content specified in description file toc-file to a CD-R disk drive in one step. This is called disk-at-once (DAO) mode, as opposed to the more commonly used track-at-once (TAO) mode. DAO mode allows you to change the length of gaps between tracks and define data to be written in these gaps (like hidden bonus tracks or track intros). The toc file can be created by hand or generated from an existing CD using cdrdao’s read-toc command. A cue file, as generated by other audio programs, can be used instead of a toc file. The file format for toc files is discussed at length in the cdrdao manpage.


The first argument must be a command. Note that not all options are available for all commands. Run cdrdao command -h to see the options that apply to a particular command.


Blank a CD-RW. The default is to do minimal blanking; use --blank-mode to change to full blanking.


Copy the CD. If you use a single drive, you will be prompted to insert a CD-R after reading. An image file is created unless you use the --on-the-fly flag and two CD drives.


Display CDDB information.


Display information about the CD-R currently in the drive.


Display information about the drive.


Display multisession information. Useful mostly for wrapper scripts.


Read from a CD and create a disk image and toc file that will allow creation of duplicates. Use --datafile to specify a filename.


Check a CDDB server ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.