Skip to content

Instantly share code, notes, and snippets.

@awildeone
Created August 7, 2019 22:48
Show Gist options
  • Select an option

  • Save awildeone/6204bec5b8cc29ef48657b03fb065f14 to your computer and use it in GitHub Desktop.

Select an option

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[])]"
@awildeone
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment