Skip to content

Instantly share code, notes, and snippets.

@filipsPL
Created December 29, 2019 19:39
Show Gist options
  • Save filipsPL/94853c82e6308f03a9bd3073527a2cbe to your computer and use it in GitHub Desktop.
Save filipsPL/94853c82e6308f03a9bd3073527a2cbe to your computer and use it in GitHub Desktop.
Bash command line convert Polar tcx file to Garmin acceptable tcx file
#!/bin/bash
#see: https://forums.garmin.com/apps-software/mobile-apps-web/f/garmin-connect-web/83432/polar-flow-tcx-export-to-garmin-connect
cat polar.tcx | sed -e '/<Creator/,/<\/Creator>/d' -e '/<Author/,/<\/Author>/d' > garmin.tcx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment