#!/bin/bash if [ -z "$1" ]; then echo -e "Enter the name of the mpeg-2 to author and burn.\n"; else dvdauthor -o $1-TEMP $1 ; dvdauthor -o $1-TEMP -T ; growisofs -dvd-compat -Z /dev/dvdburner -dvd-video $1-TEMP ; sleep 10 ; # rm -rf $1-TEMP ; eject /dev/dvdburner fi