diff --git a/Config/Automation/backup.sh b/Config/Automation/backup.sh index bb8d6c6..68d1377 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}/" - cp "\${item_name}_\${date_time}.tar.gz" "${web_path}/\${year}/" + cp "\${item_name}_\${date_time}.tar.gz" "${local_pick}/\${year}/" rm "\${item_name}_\${date_time}.tar.gz" done EOF