@etop/oss-cli
v0.1.4
Published
## Description
Downloads
7
Readme
Oss Cli
Description
A simple command line tool for oss operations
Install
npm install @etop/oss-cli -g
Usage
Simple Example
oss-cli upload yourDir --accessKeyId yourAkId --accessSecret yourAkSecret --bucket yourBucket --region bucketRegion
Complex Example
oss-cli upload yourDir --accessKeyId yourAkId --accessSecret yourAkSecret --bucket yourBucket --region bucketRegion --prefix sub --cacheControl max-age=15552000 --force false --removeOldVersion true --sameNameSkip true
More info about options please check oss-cli -h
and oss-cli upload -h