@taoqf/tools
v1.0.9
Published
## minio sync
Readme
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-minioor
npm i -g @taoqf/tools
sync-minioexec
Execute shell and get results
