Skip to content

Instantly share code, notes, and snippets.

View sebsto's full-sized avatar

Sébastien Stormacq sebsto

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