#!/bin/csh -f #H# Burns a DVD disc. #H# $1 is the directory to burn #H# $2 is the volume name in quotes. # truncate the Volume label set VolName=`echo "$2" | cut -c1-32` # Old method using non-free tool #cdrecord-wrapper.sh -v -eject -dao dev=/dev/hda speed=4 driveropts=burnfree "$1" # growisofs with prebuilt .iso file #growisofs -speed=4 -Z /dev/dvd=$1 # growisofs with a directory making the .iso on the fly (best method) growisofs -Z /dev/dvdrw -l -r -V "$VolName" "$1"