Skip to content

Instantly share code, notes, and snippets.

@skydiver
Created March 16, 2016 03:16
Show Gist options
  • Save skydiver/e2ede391848a5c2c70a1 to your computer and use it in GitHub Desktop.
Save skydiver/e2ede391848a5c2c70a1 to your computer and use it in GitHub Desktop.
get s3 bucket space in GB
s3cmd du s3://{BUCKET}/ | awk '{print $0/1024/1024/1024" GB"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment