This commit is contained in:
Zsolt Ero
2024-03-03 01:03:50 +01:00
parent 23e39704f4
commit e079bd1c67
5 changed files with 25 additions and 11 deletions

View File

@@ -14,15 +14,15 @@ for AREA in "${AREAS[@]}"; do
--fast-list \
--exclude dirs.txt \
--exclude index.txt \
"cf:ofm-$AREA" > index/index.txt
"remote:ofm-$AREA" > index/index.txt
rclone lsf -R \
--dirs-only \
--dir-slash=false \
--fast-list \
"cf:ofm-$AREA" > index/dirs.txt
"remote:ofm-$AREA" > index/dirs.txt
rclone copy index "cf:ofm-$AREA"
rclone copy index "remote:ofm-$AREA"
done
rm -rf index