Backup DVD using HandBrakeCLI
Posted by Pontus Ullgren on Wednesday, 20 October 2010Making copies of your DVD movies into MKV format has never been easier thanks to HandBrake.
Below is a small shell script that uses HandBrakeCLI to save the longest title and Swedish subtitle into MKV format.
#!/bin/bash
# This is a simple shell script which will
# grab the longest title and Swedish subtitle and
# then encode it as MKV
#
TITLE=`lsdvd -c | grep "Disc Title" | gawk '{