Last active
May 19, 2026 23:23
-
-
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 hidden or 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 |
Comments are disabled for this gist.