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

Policy DSL #1

Closed geoffreywiseman closed 13 years ago

geoffreywiseman commented 13 years ago

Would be nice to allow people to write their own policies for prune as a DSL that allows you to establish what the categories are, how those are described, which files belong in that category and what to do with them.

geoffreywiseman commented 13 years ago

Maybe something a little like: https://gist.github.com/745599