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:
6
scripts/01-install.sh
Normal file
6
scripts/01-install.sh
Normal 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/
|
||||
Reference in New Issue
Block a user