How to get the size of an Amazon S3 bucket?

0 votes

Hi Guys,

I have uploaded some files in my S3 bucket. I want to copy the bucket. But before that, I want to see the size of the bucket. How can I do that?

Oct 4 in AWS by akhtar
• 33,720 points
79 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use AWS CLI to perform your task. In AWS CLI you can pass your query to find the size of the S3 bucket as shown below.

$ aws s3 ls --summarize --human-readable --recursive s3://bucket-name/
answered Oct 4 by MD
• 79,930 points

Related Questions In AWS

0 votes
1 answer

How to list the contents of Amazon S3 by modified date?

One easy solution would be probably to ...READ MORE

answered Aug 21, 2018 in AWS by datageek
• 2,500 points
21,386 views
0 votes
1 answer
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 57,700 points
1,461 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 57,700 points
2,315 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,770 points
1,347 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer