Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to back up files to a single ISO image' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to back up files to a single ISO image
Authored by: lras on Mar 29, '07 06:34:15AM
Looks like there is a small bug in your script. It prevents the temporary backup dirs from being removed.
On line 52, you cd $destinationFolder/$destinationSubfolder, and on line 59, you rm -R -f $destinationFolder/$destinationSubfolder, without having moved back up again. You don't get any error messages because of the -f option.

[ Reply to This | # ]