Created
November 28, 2019 13:00
-
-
Save Efrat19/6a9782703b2beae8de9e3644dd03234a to your computer and use it in GitHub Desktop.
s3 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 s3://<bucket_name> --recursive | awk 'BEGIN {total=0}{total+=$3}END{print total/1024/1024" MB"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment