1.0.9 • Published 4 years ago
@taoqf/tools v1.0.9
tools
minio sync
Same as mc mirror
Configuration
minio.json
{
"src": {
"endPoint": "0.0.0.0",
"port": 9000,
"useSSL": false,
"accessKey": "feidao",
"secretKey": "Feidao111111"
},
"dest": {
"endPoint": "0.0.0.0",
"port": 9001,
"useSSL": false,
"accessKey": "feidao",
"secretKey": "Feidao111111"
},
"pkgs": [
"db.json",
"@dfeidao",
"@feidao",
"@dfeidao-works",
"@feidao-works"
]
}
Useage
Put minio.json in some
npm i @taoqf/tools
./node_modules/.bin/sync-minio
or
npm i -g @taoqf/tools
sync-minio
exec
Execute shell and get results