cdrecord
linux
Record data to CDs or DVDs. Some invocations of cdrecord can cause destructive actions, such as erasing all the data on a disc.
More info →Examples (4)
Display optical drives available to `cdrecord`
cdrecord --devicesRecord ("burn") an audio-only disc
cdrecord dev=/dev/optical_drive -audio track*.cdaudioBurn a file to a disc, ejecting the disc once done (some recorders require this)
cdrecord -eject dev=/dev/optical_drive -data file.isoBurn a file to the disc in an optical drive, potentially writing to multiple discs in succession
cdrecord -tao dev=/dev/optical_drive -data file.isomade by @shridhargupta | data from tldr-pages