delete.rst.inc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 delete <options> TARGET
  7. positional arguments
  8. TARGET
  9. archive or repository to delete
  10. optional arguments
  11. ``-p``, ``--progress``
  12. | show progress display while deleting a single archive
  13. ``-s``, ``--stats``
  14. | print statistics for the deleted archive
  15. ``-c``, ``--cache-only``
  16. | delete only the local cache for the given repository
  17. ``--force``
  18. | force deletion of corrupted archives
  19. ``--save-space``
  20. | work slower, but using less space
  21. `Common options`_
  22. |
  23. filters
  24. ``-P``, ``--prefix``
  25. | only consider archive names starting with this prefix
  26. ``--sort-by``
  27. | Comma-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
  28. ``--first N``
  29. | consider first N archives after other filters were applied
  30. ``--last N``
  31. | consider last N archives after other filters were applied
  32. Description
  33. ~~~~~~~~~~~
  34. This command deletes an archive from the repository or the complete repository.
  35. Disk space is reclaimed accordingly. If you delete the complete repository, the
  36. local cache for it (if any) is also deleted.