修复备份本地备份
This commit is contained in:
parent
5e8a0c4435
commit
0fdab255bb
@ -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}/"
|
||||||
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"
|
rm "\${item_name}_\${date_time}.tar.gz"
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user