Size of a S3 bucket

How big is my bucket, or does my data look big in this bucket?

There was a time where you would list the files and sum up the sizes......... but no more.

It is as simple as

aws s3 ls --summarize --human-readable --recursive s3://bucket-name/
 
and by extension listing a folder in a bucket is:
 
aws s3 ls --summarize --human-readable --recursive s3://bucket-name/directory 
 
See the documentation here.

Comments

Popular posts from this blog

Recursively Delete files of the Same Name in S3

Python - datetime Formatting

ORACLE RDS granting select privileges to users.