2
0
Fork 0

sh.zio.backup: add prune command alias

This commit is contained in:
Ducky 2023-08-22 03:09:10 +01:00
parent fd5fec3729
commit 59b61f60af

View file

@ -285,6 +285,9 @@ if [[ -z "$1" || -f "$1" ]]; then
else
command="$1"
arguments="${@:2}"
[[ $command = "purge" ]] && command="prune"
say info "Running: $restic_path $command $arguments"
invoke_restic $command $arguments
exit $?