Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adrienjoly/b81d154f556a6d9fc7d0 to your computer and use it in GitHub Desktop.
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