修复备份本地备份

This commit is contained in:
lsy 2024-09-21 16:57:21 +08:00
parent a5f7a48c48
commit fa4a1112fb

View File

@ -97,7 +97,7 @@ for item in "$web_path"/*; do
tar -czf "\${item_name}_\${date_time}.tar.gz" \$(ls) tar -czf "\${item_name}_\${date_time}.tar.gz" \$(ls)
bypy upload "\${item_name}_\${date_time}.tar.gz" "/\${item_name}/" bypy upload "\${item_name}_\${date_time}.tar.gz" "/\${item_name}/"
${path}/aliyunpan/aliyunpan upload "\${item_name}_\${date_time}.tar.gz" "/网站/\${item_name}/\${year}/" ${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" rm "\${item_name}_\${date_time}.tar.gz"
done done
EOF EOF