--- title: 华为云对象存储使用记录 tags: [] id: '2333' categories: - - uncategorized date: 2022-09-14 21:19:21 --- * wget https://obs-community-intl.obs.ap-southeast-1.myhuaweicloud.com/obsutil/current/obsutil\_linux\_amd64.tar.gz * tar -zxvf obsutil\_linux\_amd64.tar.gz * cd obsutil\_linux\_amd64\_5.3.4/ * chmod +x obsutil * 下载那啥[OBS Browser+](https://support.huaweicloud.com/browsertg-obs/obs_03_1003.html),用啥<账号名>登进去,找个链接看看是哪个区,比如north-1,然后在[地区和节点页面](https://developer.huaweicloud.com/endpoint?OBS)找到对应的Endpoint(PS:对于Endpoint都不在邮件里说清楚,要客户自己去找的测序公司,也是没谁了,😓) * ./obsutil config -i= -k= -e= * ./obsutil ls <访问路径> * mkdir ~/upload/yy\_zhang/oss/hw/data & chmod 777 ~/upload/yy\_zhang/oss/hw/data * ./obsutil cp <访问路径> ~/upload/yy\_zhang/oss/hw/data -r #下载全部文件,显示失败? * ./obsutil download obs://annoroad-cloud-product/user/cache/project/XS01KF2021110082/PM-XS01KF2021110082-02/ ~/upload/yy\_zhang/oss/hw/data # 依然失败,什么鬼,强推[OBS Browser+](https://support.huaweicloud.com/browsertg-obs/obs_03_1003.html)? * OBS Browser+ 创建分享链接 * ./obsutil share-ls <分享链接> * ./obsutil share-cp <分享链接> ~/upload/yy\_zhang/oss/hw/data #还是失败 * conda install -c conda-forge rclone -y * rclone config * n * hw\_001 * s3 * 9 * 1 * * * 6 #根据实际的Endpoint来选 * 6 * enter * enter * y * q * rclone lsd <访问路径> # error listing: AccessDenied: Access Denied 只能说意料之中 放弃了,直接找客服解决,不再碰这玩意了。