Skip to content

Instantly share code, notes, and snippets.

@Pezmc
Last active March 2, 2019 11:02
Show Gist options
  • Save Pezmc/4d5dd93e4c194b52497d2e262abccb4f to your computer and use it in GitHub Desktop.
Save Pezmc/4d5dd93e4c194b52497d2e262abccb4f to your computer and use it in GitHub Desktop.
Parse RunGap Metadata
cat *.metadata.json | jq -c '"\(.distance), \(.duration), \(.startTime.time), \(.avgHeartrate), \(.maxHeartrate), \(.activityType.internalName)"' | grep "Running" | grep -v "Treadmill"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment