Created
January 4, 2019 08:45
-
-
Save taross-f/a54a042f7f92eda0e0c462cc3490d4dc to your computer and use it in GitHub Desktop.
s3_bucket_size
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 s3 ls --profile default | awk '{print $3}' | xargs -L 1 -t aws s3 ls --recursive --human --sum --profile default | grep -e aws -e Total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment