delete.rst.inc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_delete:
  3. borg delete
  4. -----------
  5. ::
  6. borg [common options] delete <options> TARGET
  7. positional arguments
  8. TARGET
  9. archive or repository to delete
  10. optional arguments
  11. ``-s``, ``--stats``
  12. | print statistics for the deleted archive
  13. ``-c``, ``--cache-only``
  14. | delete only the local cache for the given repository
  15. ``--force``
  16. | force deletion of corrupted archives, use --force --force in case --force does not work.
  17. ``--save-space``
  18. | work slower, but using less space
  19. `Common options`_
  20. |
  21. filters
  22. ``-P``, ``--prefix``
  23. | only consider archive names starting with this prefix
  24. ``--sort-by``
  25. | Comma-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  26. ``--first N``
  27. | consider first N archives after other filters were applied
  28. ``--last N``
  29. | consider last N archives after other filters were applied
  30. Description
  31. ~~~~~~~~~~~
  32. This command deletes an archive from the repository or the complete repository.
  33. Disk space is reclaimed accordingly. If you delete the complete repository, the
  34. local cache for it (if any) is also deleted.