Skip to content

Instantly share code, notes, and snippets.

@awildeone
Created August 7, 2019 22:48
Show Gist options
  • Save awildeone/6204bec5b8cc29ef48657b03fb065f14 to your computer and use it in GitHub Desktop.
Save awildeone/6204bec5b8cc29ef48657b03fb065f14 to your computer and use it in GitHub Desktop.
aws s3api list-objects --bucket BUCKETNAME --output json --query "[sum(Contents[].Size), length(Contents[])]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment