Skip to content

Instantly share code, notes, and snippets.

Avatar

Sébastien Stormacq sebsto

View GitHub Profile
@sebsto
sebsto / gist:947f8cf66b4b4d4e82bc
Last active Aug 29, 2015 — forked from anamorph/gist:699dbae01ff0f4942acc
Human Readable S3 Bucket Size (don't do that on very large buckets ! :-) )
View gist:947f8cf66b4b4d4e82bc
aws s3api list-objects --bucket $BUCKETNAME --query 'sum(Contents[].Size)' | awk '{print $0/1024/1024/1024" GB"}'
You can’t perform that action at this time.