Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 whomever 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 Thu, Mar 29 2007 at 6:34AM PDT
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 | # ]