Find Size of Amazon S3 Bucket
Revision as of 19:59, 1 May 2016 by Adam.birds (talk | contribs) (Created page with "'''To find the size of an Amazon S3 Bucket use the following command:''' <pre> aws s3api list-objects --bucket bucketname --output json --query "[sum(Contents[].Size), length...")
To find the size of an Amazon S3 Bucket use the following command:
aws s3api list-objects --bucket bucketname --output json --query "[sum(Contents[].Size), length(Contents[])]"
This requires you to first run:
aws configure
To set up your account credentials with the api.