Dvd : Remove pure-file burn options.

This commit is contained in:
Dmitry Voronin 2024-02-22 20:50:14 +03:00
parent 24da2c529f
commit 3eb8f867b8

View file

@ -1,14 +1,3 @@
# Burn specified files to DVD.
# Usage: dvd_burn <FILES>
function dvd_burn() {
if [[ "${*}" = "" ]]; then
help dvd_burn
return 2
fi
growisofs -use-the-force-luke=tty -Z /dev/sr0 -J -r -speed=8 -dvd-compat -pad -graft-points "${*}"
}
# Burn specified iso file to DVD. # Burn specified iso file to DVD.
# Usage: dvd_burn_iso <FILE.iso> # Usage: dvd_burn_iso <FILE.iso>
function dvd_burn_iso() { function dvd_burn_iso() {
@ -21,17 +10,6 @@ function dvd_burn_iso() {
growisofs -dvd-compat -speed=8 -use-the-force-luke=tty -Z /dev/sr0="${iso}" growisofs -dvd-compat -speed=8 -use-the-force-luke=tty -Z /dev/sr0="${iso}"
} }
# Burn specified files to CD.
# Usage: cd_burn <FILES>
function cd_burn() {
if [[ "${*}" = "" ]]; then
help cd_burn
return 2
fi
mkisofs -J -r -pad -graft-points "${*}" | cdrecord dev=1,1,0 speed=8 -
}
# Burn specified iso file to CD. # Burn specified iso file to CD.
# Usage: cd_burn_iso <FILE.iso> # Usage: cd_burn_iso <FILE.iso>
function cd_burn_iso() { function cd_burn_iso() {