_ _ | |_ ___ __| |____ ___ _ _ | __/ _ \/ _` |_ / / _ \ | | | | || __/ (_| |/ / | __/ |_| | \__\___|\__,_/___(_)___|\__,_|
In the course of learning to edit Openstreetmap, I have needed to convert GPS traces recorded on my Garmin watch, which are in ".fit" format into the ".gpx" format for uploading to the Openstreetmap editor.
Based on an example from the Openstreetmap Wiki, I used the following gpsbabel command:
gpsbabel -i garmin_fit -f F1J93824.FIT -o gpx -F F1J93824.gpx
Too convert all .FIT files in the current directory to .gpx files:
for file in *.FIT ; do echo $file; gpsbabel -i garmin_fit -f "$file" -o gpx -F "${file%.FIT}.gpx"; done
A useful YouTube video related to this: