Add scripts for MinIO client installation and S3 object copying

- Created 01-install.sh to download and set up the MinIO client.
- Created 02-copy.sh to configure MinIO aliases and mirror objects between buckets.
- Added copy.ts to implement S3 object copying functionality using AWS SDK.
This commit is contained in:
2026-02-06 19:11:02 +08:00
commit b6d8af60a1
8 changed files with 1350 additions and 0 deletions

6
scripts/01-install.sh Normal file
View File

@@ -0,0 +1,6 @@
curl https://dl.min.io/client/mc/release/linux-amd64/mc \
--create-dirs \
-o $HOME/minio-binaries/mc
chmod +x $HOME/minio-binaries/mc
export PATH=$PATH:$HOME/minio-binaries/