cdrecord
Record data to CDs or DVDs. tldr-pages
On Linux
Linux
Record data to CDs or DVDs. Some invocations of cdrecord can cause destructive actions, such as erasing all the data on a disc.
Display optical drives available to cdrecord
cdrecord --devicesIdentifyRecord ("burn") an audio-only disc
cdrecord dev=/dev/optical_drive -audio track*.cdaudioIdentifyBurn a file to a disc, ejecting the disc once done (some recorders require this)
cdrecord -eject dev=/dev/optical_drive -data file.isoIdentifyBurn a file to the disc in an optical drive, potentially writing to multiple discs in succession
cdrecord -tao dev=/dev/optical_drive -data file.isoIdentify