2
0
Fork 0

sh.zio.backup: add prune command alias

main
Ducky 2023-08-22 03:09:10 +01:00
parent fd5fec3729
commit 59b61f60af
1 changed files with 3 additions and 0 deletions

View File

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