Prunes an archive directory without touching anything recent. Run it with -print first to see what would go.
Tag
Snippets tagged cleanup
Finds the branches that are safe to delete, and the ones that are not.
Reclaims disk after a week of building. The volume flag is separate because it is the one that loses data.
Uses a window function to number the duplicates and removes everything but the first of each group.