geoffreywiseman / prune

A simple utility for pruning files based on date as a means of keeping increasingly sparse backups.
http://geoffreywiseman.github.com/prune
The Unlicense
2 stars 0 forks source link

Better error handling for failed deletions #57

Closed geoffreywiseman closed 7 years ago

geoffreywiseman commented 8 years ago

I just hit a case where the permissions weren't right to delete the files -- prune simply told me that it had deleted the files and did nothing else. No warnings, no suggestion that anything had gone wrong, but the files were still there.

Fine, it's a permissions problem, I can fix that -- but if Prune pretends it succeeded, that's not ideal.