add restore operation option
This commit is contained in:
parent
65bfe96b68
commit
5836cbd7e7
@ -76,6 +76,10 @@ while [ $# -gt 0 ]; do
|
||||
restorePath="${2%/}"
|
||||
shift
|
||||
;;
|
||||
-r|--restore)
|
||||
# restore archive/file
|
||||
operation='restore'
|
||||
;;
|
||||
-v|--vars)
|
||||
# location of borgvars file
|
||||
if [ -z "$2" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user