Created
February 5, 2019 02:16
-
-
Save cam8001/c0b4a4d86f073dad317244b6acec98bf to your computer and use it in GitHub Desktop.
Remove all s3 buckets in AWS CLI
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
#!/bin/bash | |
aws s3 ls | cut -d" " -f 3 | xargs -I{} aws s3 rb s3://{} --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment