From 0fdab255bb877824f38b7ea99cd41ab27f221be9 Mon Sep 17 00:00:00 2001 From: lsy Date: Sat, 21 Sep 2024 17:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=87=E4=BB=BD=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Automation/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config/Automation/backup.sh b/Config/Automation/backup.sh index b77edcc..82ab596 100644 --- a/Config/Automation/backup.sh +++ b/Config/Automation/backup.sh @@ -97,7 +97,7 @@ for item in "$web_path"/*; do tar -czf "\${item_name}_\${date_time}.tar.gz" \$(ls) bypy upload "\${item_name}_\${date_time}.tar.gz" "/\${item_name}/" ${path}/aliyunpan/aliyunpan upload "\${item_name}_\${date_time}.tar.gz" "/网站/\${item_name}/\${year}/" - mkdir -p "\${item_name}" && cp "\${item_name}_\${date_time}.tar.gz" "${local_pick}/\${year}/\${item_name}" + mkdir -p "\${item_name}" && cp "\${item_name}_\${date_time}.tar.gz" "${loacl_path}/\${year}/\${item_name}" rm "\${item_name}_\${date_time}.tar.gz" done EOF