Skip to content

Instantly share code, notes, and snippets.

@floehopper
Created November 18, 2017 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floehopper/3dc7c12cddc64f36a3ceb50cac91dd55 to your computer and use it in GitHub Desktop.
Save floehopper/3dc7c12cddc64f36a3ceb50cac91dd55 to your computer and use it in GitHub Desktop.
$ aws s3api list-objects-v2 --bucket <bucket-name> --query 'Contents[]' | jq 'map(.Key) | map(length) | unique'
[
24,
36
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment