Created
December 21, 2021 13:59
-
-
Save knudmoeller/a4fb168e90e95ad901d02591112cf946 to your computer and use it in GitHub Desktop.
Query multiple files with jq, slurp results into one large array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jq "{date: .dump_finished, count: .datasets | length}" sorted/*.json | jq -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment