#!/bin/bash -e if [ -z "$1" ]; then echo "Usage: $0 device" exit 1 fi HandBrakeCLI --input "$1" --title 0