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