summaryrefslogtreecommitdiffstats
path: root/SOURCE/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCE/main.sh')
-rw-r--r--SOURCE/main.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/SOURCE/main.sh b/SOURCE/main.sh
index 94f696d..612200d 100644
--- a/SOURCE/main.sh
+++ b/SOURCE/main.sh
@@ -85,6 +85,19 @@ while true; do
# shellcheck disable=SC2317
exit
;;
+ --backup )
+ case "$2" in
+ '' )
+ read -r -p "Backup Dir: " BDIR
+ ;;
+ * )
+ BDIR=$2
+ ;;
+ esac
+ shift 2
+ backup_data $BDIR
+ exit
+ ;;
-- )
shift
break