Last active
June 5, 2019 07:19
-
-
Save dyllanwli/3330fb8ea187635e5ab95ec23300bdc3 to your computer and use it in GitHub Desktop.
aws s3 command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws --version | |
# aws-cli/1.15.30 Python/3.6.5 Darwin/17.6.0 botocore/1.10.30 | |
# move or rename bucket | |
aws s3 mb s3://[new-bucket] | |
aws s3 mv s3://old-bucket s3://new-bucket --recursive | |
# or | |
aws s3 mb s3://[new-bucket] | |
aws s3 sync s3://[old-bucket] s3://[new-bucket] | |
aws s3 rb --force s3://[old-bucket] | |
# get configure | |
aws configure get region |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment