mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
ledns
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -30,7 +30,7 @@ rclone sync \
|
||||
--stats-one-line \
|
||||
--log-file logs/rclone.log \
|
||||
--exclude 'logs/**' \
|
||||
. "cf:ofm-$AREA/$VERSION"
|
||||
. "remote:ofm-$AREA/$VERSION"
|
||||
|
||||
|
||||
bash "$SCRIPT_DIR/cloudflare_index.sh"
|
||||
Reference in New Issue
Block a user