aws cli get s3 bucket info size code example Example: aws s3 get size in gb aws s3 ls s3://mybucket --recursive --human-readable --summarize