##---- burniso.sh - Burn an iso file## Author: capgadget#echo "Starting $0 `date`"echo " "echo "Burning iso file $2"ls -l $2echo " "nowtime=`date +%Y%m%d%H%M%S`echo "Log file: cdrecord.$nowtime.log"echo " "nohup time cdrecord -v speed=$1 -overburn dev=/dev/hdd $2 >cdrecord.$nowtime.log 2>&1 &sleep 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 " "