Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Use gpsbabel to convert Garmin .FIT to .gpx — requires a fairly recent version of gpsbabel (minimum 1.4.3); see for more details on using Garmin watches with Linux
# Usage: <FIT filename>
# Should works whether you include the .FIT extension or not.
filename=$(basename "$1" .FIT)
gpsbabel -i garmin_fit -f "$filename".FIT -o gpx -F "$filename".gpx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment