borg
Verified for current stable LTS
Borg Command: Prune Old Archives
Use for prune old archives with Borg. Exact CLI syntax to prune old archives using Borg.
When to use this: Use for prune old archives with Borg.
Command Syntax
borg prune --keep-within <7d> --list <path/to/repo_directory> borg prune --keep-within <7d> --list <path/to/repo_directory> Command Breakdown
--keep-within- Command Option
- Tool-specific option used by this command invocation.
--list- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to prune old archives using Borg.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Borg Command: Backup Directory
borg create --progress <path/to/repo_directory>::<Monday> <path/to/source_directory> Borg Command: Extract Directory Excluding Files borg extract <user>@<host>:<path/to/repo_directory>::<Monday> <path/to/target_directory> --exclude '<*.ext>' Borg Command: Help Create Archives borg create --help Borg Command: Initialize Repository borg init <path/to/repo_directory> Borg Command: List Archives borg list <path/to/repo_directory>