Created
February 22, 2018 09:43
-
-
Save cupracer/c65adbcab6806c3f930bc1f7a232daaf to your computer and use it in GitHub Desktop.
Delete or empty an AWS S3 bucket
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
# Source: | |
# https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-or-empty-bucket.html | |
# empty a bucket | |
# aws s3 rm s3://bucket-name --recursive | |
# delete a bucket | |
# aws s3 rb s3://bucket-name --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment