s3cmd 安装与使用

文章目录

s3cmd 安装与使用


s3cmd 安装与使用

文件传输时长计算器 https://www.expedient.com/file-transfer-time-calculator/

从本地目录传输到Wasabi的存储桶:
aws s3 cp <local_directory>/ s3://<destination_bucket>/ --recursive --profile wasabi

https://s3tools.org/s3cmd
https://github.com/s3tools/s3cmd/blob/master/INSTALL
#https://github.com/s3tools/s3cmd/releases/download/v2.0.2/s3cmd-2.0.2.zip
#https://wasabi-support.zendesk.com/hc/en-us/articles/115001757791-How-do-I-use-s3cmd-with-Wasabi-
#https://github.com/s3tools/s3cmd

wget https://github.com/s3tools/s3cmd/archive/master.zip
unzip master.zip
mv s3cmd* s3cmd
cd s3cmd
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install setuptools
pip install --upgrade setuptools
python setup.py install
cd ..
s3cmd --configure

Access Key: TCRL86IJUYXUL7XYMQTH
Secret Key: rFAzCz3Ibe7hIr19d4G2DOgW9OfLW7EvBrXstasL
Default Region [US]: us-west-1
S3 Endpoint [s3.amazonaws.com]: s3.wasabisys.com
DNS-style bucket+hostname:port template for accessing a bucket [%(bucket)s.s3.amazonaws.com]: %(bucket)s.s3.wasabisys.com

s3cmd
s3cmd ls
s3cmd mb s3://桶名
s3cmd mb s3://域名

# 美西 上传 20~40MB/s ,下载 70MB/s
# 美东 上传 40MB/s ,   下载 80MB/s
s3cmd put --acl-public Camera.zip s3://桶名

s3cmd del --recursive --force s3://桶名
s3cmd rb s3://桶名

原文链接:,转发请注明来源!

发表评论