Removes all but the 5 newest snapshots and immediately deletes their data files with --prune, freeing space in one step. The pruned data is gone permanently, so verify the policy before running. Prefer plain restic forget without --prune when testing.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.