tldr/pages/linux/wodim.md

22 lines
717 B
Markdown
Raw Normal View History

2017-07-25 19:50:58 +01:00
# 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: <https://manned.org/wodim>.
2017-07-25 19:50:58 +01:00
- Display optical drives available to `wodim`:
2017-07-25 19:50:58 +01:00
`wodim --devices`
2017-09-04 23:34:39 +01:00
- Record ("burn") an audio-only disc:
2017-07-25 19:50:58 +01:00
`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}}`