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

Dynamically Load Retention Policy from Target Folder #27

Closed geoffreywiseman closed 13 years ago

geoffreywiseman commented 13 years ago

Determine which retention policy to load at runtime; keep a core retention that can be bundled inside the gem, but check the target folder for a retention policy. If the target folder has one, use it, but if the target folder doesn't have one, use the core.