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

18
package.json Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "@kevisual/s3-migrate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.24.0",
"dependencies": {
"@aws-sdk/client-s3": "^3.984.0",
"@types/node": "^25.2.1",
"dotenv": "^17.2.4"
}
}