AWS CLI to show AWS S3 Bucket Size

From the AWS CLI you can easily see how big a AWS S3 Bucket, firstly login to the AWS CLI and then you can run the command:

aws s3 ls --summarize --human-readable --recursive s3://my-big-bucket/ | tail -2
Total Objects: 176
   Total Size: 13.2 TiB

Leave a comment