From e7552e73519892be1934269b35e2384dfa3c658d Mon Sep 17 00:00:00 2001 From: lsy Date: Sat, 21 Sep 2024 16:40:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=87=E4=BB=BD=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=B1=8F=E8=94=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Automation/backup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Config/Automation/backup.sh b/Config/Automation/backup.sh index a4787fc..959059c 100644 --- a/Config/Automation/backup.sh +++ b/Config/Automation/backup.sh @@ -22,12 +22,11 @@ fi for item in "$web_path"/* ; do [[ $ignore -eq 1 ]] && echo "当前脚本会备份的目录如下" declare item_name=$(basename "$item") - echo "${ignore}.${item_name}" - ignore=[[$ignore+1]] + echo "${item_name}" done echo "请输入需要屏蔽的目录用逗号隔开" -read -p "请输入" ignore +read -p "请输入:" ignore read -p "是否备份到本地,默认 关闭 ,输入 y 开启:" local_pick