AWS CLI

Install

sudo pip3 install awscl
aws configure

If you don’t have an access key, you can create one at IAM Management Console

AWS Access Key ID [None]: <YOUR ACCESS KEY>
AWS Secret Access Key [None]: <YOUR SECRET ACCESS KEY>
Default region name [None]: ap-northeast-1
Default output format [None]:

Use

S3

Sync all file from bucket to local

aws s3 sync s3://litawardab/ . --delete

Reference

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *