Thanks for the script. I'm sure it'll come in handy. I'd like to
offer a suggestion, though.

> # temp storage while creating iso image (could use tmp if that is on a big 
> partition)
> tmpstorage="/temp/dvdbackup${RANDOM}"
...
> # Make a unique temporary directory to store the backup
> # *** Add check to see if directory exists
> mkdir -p  ${tmpstorage}

 Use mktemp instead, like so:

tmpstorage=`mktemp -q /temp/dvdbackup.XXXXXX` || exit 1

 This way, either a unique dir is created for you or the script
quits.

-- 
"We are here on Earth to fart around. Don't let anybody tell you any different!"
 -- Kurt Vonnegut
_______________________________________________
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to