系统:ubuntu20.04
下载依赖
sudo apt-get update
sudo apt install awscli -y
配置账户:
aws configure list 查看是否有账户配置
下载
aws s3 cp --request-payer=requester "s3://public-blockchain-snapshots/bsc/" /data
查看目录
aws s3 ls --request-payer=requester "s3://public-blockchain-snapshots/bsc/" /data
同步
aws s3 sync --request-payer=requester "s3://public-blockchain-snapshots/bsc/" /data