##---- burndvdiso.sh - Burn a DVD iso## Author: capgadget#echo "Starting $0 `date`"echo " "echo "Burning iso file $1"ls -l $1echo " "nowtime=`date +%Y%m%d%H%M%S`echo "Log file: cdrecord.$nowtime.log"echo " "#nohup time growisofs -dvd-compat -Z /dev/hdd=$1 >cdrecord.$nowtime.log 2>&1 &growisofs -Z /dev/hdd=$1 -use-the-force-luke=notray -use-the-force-luke=tty -dvd-compat -speed=4sleep 2echo " "echo "Running tail -f cdrecord.$nowtime.log"echo "You can press control/C at anytime to stop viewing the log"echo "Check cdrecord.$nowtime.log periodically to see when it is finished"echo "It will take approximately 10 minutes to burn a full CD"echo " "tail -f cdrecord.$nowtime.log# TODO Need to trap COntrol/C to see the remaining echos"echo " "echo "If cdrecord is still running don't forget to check cdrecord.$nowtime.log to see if it has finished"echo "You can check by typing:"echo "tail -f cdrecord.$nowtime.log"echo "Bye"echo " "