2017-07-25 20:50:58 +02:00
|
|
|
# wodim
|
|
|
|
|
2017-09-03 20:37:14 -01:00
|
|
|
> 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.
|
2021-10-05 05:35:50 +02:00
|
|
|
> More information: <https://manned.org/wodim>.
|
2017-07-25 20:50:58 +02:00
|
|
|
|
2017-09-03 20:37:14 -01:00
|
|
|
- Display optical drives available to `wodim`:
|
2017-07-25 20:50:58 +02:00
|
|
|
|
|
|
|
`wodim --devices`
|
|
|
|
|
2017-09-04 21:34:39 -01:00
|
|
|
- Record ("burn") an audio-only disc:
|
2017-07-25 20:50:58 +02:00
|
|
|
|
2024-06-11 06:47:57 +02:00
|
|
|
`wodim dev={{/dev/optical_drive}} -audio {{track*.cdaudio}}`
|
2017-07-25 20:50:58 +02:00
|
|
|
|
|
|
|
- Burn a file to a disc, ejecting the disc once done (some recorders require this):
|
|
|
|
|
2024-06-11 06:47:57 +02:00
|
|
|
`wodim -eject dev={{/dev/optical_drive}} -data {{file.iso}}`
|
2017-07-25 20:50:58 +02:00
|
|
|
|
|
|
|
- Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession:
|
|
|
|
|
2024-06-11 06:47:57 +02:00
|
|
|
`wodim -tao dev={{/dev/optical_drive}} -data {{file.iso}}`
|