Skip to content

Instantly share code, notes, and snippets.

@StevenMaude
Created November 5, 2014 11:07
Show Gist options
  • Save StevenMaude/f49b98489200475864ed to your computer and use it in GitHub Desktop.
Save StevenMaude/f49b98489200475864ed to your computer and use it in GitHub Desktop.
Simple jq select statement to match JSON files with title value of "some title"
jq '.["title"] | select(. == "some title")' *.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment