added borg delete
This commit is contained in:
parent
9ea589a848
commit
360f7e502f
1 changed files with 3 additions and 0 deletions
|
@ -34,5 +34,8 @@ proc execute*(nc: NorgConfig, repo: Repository) =
|
||||||
echo "Pruning repo: ", repo.label
|
echo "Pruning repo: ", repo.label
|
||||||
discard pruneRepo(nc, repo)
|
discard pruneRepo(nc, repo)
|
||||||
run_actions(norg_config.actions.after_prune)
|
run_actions(norg_config.actions.after_prune)
|
||||||
|
of DELETE:
|
||||||
|
echo "Forgetting snapshot: ", nc.args.archive
|
||||||
|
discard forgetSnapshot(nc, repo)
|
||||||
else:
|
else:
|
||||||
discard
|
discard
|
||||||
|
|
Loading…
Reference in a new issue