How to get size object in the S3 bucket from aws cli
aws s3 ls –summarize –human-readable –recursive s3://bucket_name/go/to/path | grep ‘Total’ Change bucket_name and go/to/path to yours
aws s3 ls –summarize –human-readable –recursive s3://bucket_name/go/to/path | grep ‘Total’ Change bucket_name and go/to/path to yours