prune.rst.inc 1.0 KB

12345678910111213141516171819202122232425262728
  1. Synopsis
  2. ~~~~~~~~
  3. ::
  4. usage: attic prune [-h] [-v] [-H HOURLY] [-d DAILY] [-w WEEKLY] [-m MONTHLY]
  5. [-y YEARLY] [-p PREFIX]
  6. REPOSITORY
  7. Prune repository archives according to specified rules
  8. positional arguments:
  9. REPOSITORY repository to prune
  10. optional arguments:
  11. -h, --help show this help message and exit
  12. -v, --verbose verbose output
  13. -H HOURLY, --hourly HOURLY
  14. number of hourly archives to keep
  15. -d DAILY, --daily DAILY
  16. number of daily archives to keep
  17. -w WEEKLY, --weekly WEEKLY
  18. number of daily archives to keep
  19. -m MONTHLY, --monthly MONTHLY
  20. number of monthly archives to keep
  21. -y YEARLY, --yearly YEARLY
  22. number of yearly archives to keep
  23. -p PREFIX, --prefix PREFIX
  24. only consider archive names starting with this prefix