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