From 8c4faa00510373351a644e026326e5f357ca89e5 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 5 Mar 2026 00:27:33 +0000 Subject: [PATCH] Update cheatsheets --- tldr/linux/cdrecord | 26 ++++++++++++++++++++++++++ tldr/linux/drm_info | 2 +- tldr/linux/wodim | 20 +++----------------- 3 files changed, 30 insertions(+), 18 deletions(-) create mode 100644 tldr/linux/cdrecord diff --git a/tldr/linux/cdrecord b/tldr/linux/cdrecord new file mode 100644 index 00000000..f5236e8e --- /dev/null +++ b/tldr/linux/cdrecord @@ -0,0 +1,26 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# cdrecord + +> Record data to CDs or DVDs. +> Some invocations of cdrecord can cause destructive actions, such as erasing all the data on a disc. +> More information: . + +- Display optical drives available to `cdrecord`: + +`cdrecord --devices` + +- Record ("burn") an audio-only disc: + +`cdrecord dev={{/dev/optical_drive}} -audio {{track*.cdaudio}}` + +- Burn a file to a disc, ejecting the disc once done (some recorders require this): + +`cdrecord -eject dev={{/dev/optical_drive}} -data {{file.iso}}` + +- Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession: + +`cdrecord -tao dev={{/dev/optical_drive}} -data {{file.iso}}` diff --git a/tldr/linux/drm_info b/tldr/linux/drm_info index 46915d6b..3dd833af 100644 --- a/tldr/linux/drm_info +++ b/tldr/linux/drm_info @@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git --- # drm_info -> Dump information about DRM devices. +> Dump information about Direct Rendering Manager devices. > More information: . - Dump DRM information: diff --git a/tldr/linux/wodim b/tldr/linux/wodim index b3997a58..833150df 100644 --- a/tldr/linux/wodim +++ b/tldr/linux/wodim @@ -5,22 +5,8 @@ source: https://github.com/tldr-pages/tldr.git --- # wodim -> Command (aliased as `cdrecord` on some systems) for recording data to CDs or DVDs. -> Some invocations of wodim can cause destructive actions, such as erasing all the data on a disc. -> More information: . +> This command is an alias of `cdrecord`. -- Display optical drives available to `wodim`: +- View documentation for the original command: -`wodim --devices` - -- Record ("burn") an audio-only disc: - -`wodim dev={{/dev/optical_drive}} -audio {{track*.cdaudio}}` - -- Burn a file to a disc, ejecting the disc once done (some recorders require this): - -`wodim -eject dev={{/dev/optical_drive}} -data {{file.iso}}` - -- Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession: - -`wodim -tao dev={{/dev/optical_drive}} -data {{file.iso}}` +`tldr cdrecord`