Last active
January 10, 2018 17:17
-
-
Save ctkdev/013465f867895597e72597c49cc2cefe to your computer and use it in GitHub Desktop.
Summarizing the total number of Amazon AWS S3 objects in a bucket along with the total size
This file contains hidden or 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 --summarize --human-readable --recursive s3://bucket-name-o/ | |
| # output will look similar to the following: | |
| Total Objects: 5702031 | |
| Total Size: 91851.8 GiB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment