Skip to content

Instantly share code, notes, and snippets.

@byronvoorbach
Created April 23, 2015 08:55
Show Gist options
  • Save byronvoorbach/a88e0a4a99480dcc46bb to your computer and use it in GitHub Desktop.
Save byronvoorbach/a88e0a4a99480dcc46bb to your computer and use it in GitHub Desktop.
Curl JQ, retrieve all coordinates for hectometerpalen en place them in text file
curl -XGET -s "http://localhost:9200/geo/hmpaal/_search?size=10" | jq -r '.hits.hits[]._source.locatie | join("/")' > hectometerpalen.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment