From 41e897f4945aaf8fbcdf0b12ac2f08c5e6ae0458 Mon Sep 17 00:00:00 2001 From: doc Date: Mon, 30 Jun 2025 20:11:52 +0000 Subject: commit of legacy code --- sync.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 sync.sh (limited to 'sync.sh') diff --git a/sync.sh b/sync.sh new file mode 100755 index 0000000..0b52969 --- /dev/null +++ b/sync.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# Setup alias (even if it already exists) +mc alias set minio http://localhost:9000 genesisadmin MutationXv3! || true + +echo "[*] Syncing genesisassets → Q:" +mc mirror \ + --overwrite \ + --remove \ + --exclude "/System Volume Information/**" \ + --exclude "/$RECYCLE.BIN/**" \ + --exclude "**/Thumbs.db" \ + minio/genesisassets /mnt/spl/qdrive || echo "[!] Q: sync completed with warnings" + +echo "[*] Syncing genesislibrary → R:" +mc mirror \ + --overwrite \ + --remove \ + --exclude "/System Volume Information/**" \ + --exclude "/$RECYCLE.BIN/**" \ + --exclude "**/Thumbs.db" \ + minio/genesislibrary /mnt/spl/rdrive || echo "[!] R: sync completed with warnings" + +echo "[✓] All syncs finished" -- cgit v1.2.3