wget http://gosspublic.alicdn.com/ossutil/1.6.10/ossutil64
官方鏈接
https://help.aliyun.com/document_detail/120075.html?spm=a2c4g.11186623.4.1.36381c7adMLe8D
給執行權限
./ossutil64 config
然后默認回車
endpoint獲取地址
https://oss.console.aliyun.com/bucket/oss-cn-hangzhou/test-06288/overview
AK碼獲取地址
https://ram.console.aliyun.com/manage/ak
根據提示輸入
endpoint: accessKeyID: accessKeySecret: stsToken:
配置文件把哦哦存在root目錄下的.ossutilconfig
輸入.ossutilconfig ls查看下
接下來上傳文件