[mythtv-users] DVD Ripping ?
Paul Pick
paul.pick at gmail.com
Mon Dec 13 12:45:12 UTC 2004
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
More information about the mythtv-users
mailing list