media-sucker/scripts/dvd.video.read.sh

17 lines
225 B
Bash
Raw Normal View History

2022-01-06 12:31:30 -07:00
#! /bin/sh -e
. /scripts/common.sh
log "Scanning for DVD title"
title=$(dvdbackup -I | awk -F \" '/DVD with title/ {print $2}')
log "DVD Title: $title"
cat <<EOD >env
mtype=dvd
title="$title"
EOD
dvdbackup -p -M -n DVD