sh.zio.backup: add prune command alias
parent
fd5fec3729
commit
59b61f60af
|
@ -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 $?
|
||||||
|
|
Loading…
Reference in New Issue