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