From 6496637b285fd8491b71c985558efca836cf90e4 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 20 Dec 2023 22:57:05 +0100 Subject: [PATCH] work --- .../fs_stats/dedupl_fixed.log | 0 scripts/{ => http_host}/benchmark/command.txt | 0 .../{ => http_host}/benchmark/create_path_list.py | 0 .../{ => http_host}/benchmark/wrk_custom_list.lua | 0 .../extract_mbtiles/extract_mbtiles.py | 0 scripts/{ => tile_gen}/shrink_btrfs/shrink_btrfs.py | 0 scripts/tile_gen/upload_cloudflare.sh | 13 +++++++++++++ 7 files changed, 13 insertions(+) rename scripts/extract_mbtiles/example_dedupl_fixed.log => docs/fs_stats/dedupl_fixed.log (100%) rename scripts/{ => http_host}/benchmark/command.txt (100%) rename scripts/{ => http_host}/benchmark/create_path_list.py (100%) rename scripts/{ => http_host}/benchmark/wrk_custom_list.lua (100%) rename scripts/{ => tile_gen}/extract_mbtiles/extract_mbtiles.py (100%) rename scripts/{ => tile_gen}/shrink_btrfs/shrink_btrfs.py (100%) create mode 100644 scripts/tile_gen/upload_cloudflare.sh diff --git a/scripts/extract_mbtiles/example_dedupl_fixed.log b/docs/fs_stats/dedupl_fixed.log similarity index 100% rename from scripts/extract_mbtiles/example_dedupl_fixed.log rename to docs/fs_stats/dedupl_fixed.log diff --git a/scripts/benchmark/command.txt b/scripts/http_host/benchmark/command.txt similarity index 100% rename from scripts/benchmark/command.txt rename to scripts/http_host/benchmark/command.txt diff --git a/scripts/benchmark/create_path_list.py b/scripts/http_host/benchmark/create_path_list.py similarity index 100% rename from scripts/benchmark/create_path_list.py rename to scripts/http_host/benchmark/create_path_list.py diff --git a/scripts/benchmark/wrk_custom_list.lua b/scripts/http_host/benchmark/wrk_custom_list.lua similarity index 100% rename from scripts/benchmark/wrk_custom_list.lua rename to scripts/http_host/benchmark/wrk_custom_list.lua diff --git a/scripts/extract_mbtiles/extract_mbtiles.py b/scripts/tile_gen/extract_mbtiles/extract_mbtiles.py similarity index 100% rename from scripts/extract_mbtiles/extract_mbtiles.py rename to scripts/tile_gen/extract_mbtiles/extract_mbtiles.py diff --git a/scripts/shrink_btrfs/shrink_btrfs.py b/scripts/tile_gen/shrink_btrfs/shrink_btrfs.py similarity index 100% rename from scripts/shrink_btrfs/shrink_btrfs.py rename to scripts/tile_gen/shrink_btrfs/shrink_btrfs.py diff --git a/scripts/tile_gen/upload_cloudflare.sh b/scripts/tile_gen/upload_cloudflare.sh new file mode 100644 index 0000000..8803d33 --- /dev/null +++ b/scripts/tile_gen/upload_cloudflare.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -e + +rclone sync \ + --transfers=8 \ + --multi-thread-streams=8 \ + --fast-list \ + -v \ + --stats-file-name-length 0 \ + --stats-one-line \ + --log-file rclone.log \ + 20231208_091355_pt cf:ofm-planet +