Skip to content

Instantly share code, notes, and snippets.

  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save adrienjoly/b81d154f556a6d9fc7d0 to your computer and use it in GitHub Desktop.
based on jq command-line json processor
FILENAME=wunderlist-20140714-20-07-39.json
LIST_ID=AB1XAAVtNbA
cat $FILENAME | jq -r ".tasks[] | select(.list_id == \"$LIST_ID\") | select(has(\"completed_at\") == false) | .title"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment