Last active
January 29, 2023 17:29
-
-
Save StevenMaude/b4ee336750a3fdbaaf67 to your computer and use it in GitHub Desktop.
Use gpsbabel to convert Garmin .FIT to .gpx — requires a fairly recent version of gpsbabel (minimum 1.4.3); see https://www.stevenmaude.co.uk/posts/using-garmin-forerunner-watches-with-linux for more details on using Garmin watches with Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: convert_gpx.sh <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