How to get the size of an AWS S3 bucket
If you need to get the size of an AWS S3 folder, or even an entire bucket, you can do so with the following command:
If you don’t use aws cli profiles
, then you can leave out the profile
part like this:
Remember to replace <bucket_name>
with your own bucket name.