https://developer.qiniu.com/sdk#official-tool
编译qshell
## 编译qiniu七牛的qshell
cd ~/Downloads/qshell-2.0.4/src
./build.sh
go get -u github.com/astaxie/beego
go get -u github.com/syndtr/goleveldb/leveldb
go get -u github.com/yanunon/oss-go-api
go get -u golang.org/x/text/encoding/simplifiedchinese
go get -u github.com/golang/text/encoding/simplifiedchinese
cd ~/.golang/src/golang.org/x
ln -s ~/.golang/src/github.com/golang/text text
## 添加账户配置
~/.qshell/account.json
{"access_key":"xxxx","secret_key":"xxxx"}%
## 列出
qshell buckets
qshell domains static
qshell fput static url/path/file.png file.png
https://developer.qiniu.com/kodo/tools/1300/qrsctl
网友评论