A while ago I posted my frustrations with running GSAK on Linux, and how I’d found a way of getting the function to send to my Garmin 60CSx to work.
I thought I owed an update to anyone who read that to say I gave up on GSAK and now just use GPSBabel from the command line. Here’s the script I run:
#!/bin/bash GPXZIP=$1 NAME=`echo $GPXZIP | cut -f1 -d.` unzip $GPXZIP GPXFILE=`ls *.gpx` for FILE in `echo $GPXFILE`; do gpsbabel -i gpx -f $FILE -o garmin -F usb:0 done
I called the script ‘sendtogarmin.sh’. I saved it in the directory where I save all my pocket queries are stored as zip files. When it comes to load them, I just hook up the Garmin and then run:
sudo ./sendtogarmin.sh pquery.zip
Works for me, but I never bothered with using GSAK for much more than sending the pocket queries – I’m not at the stage yet where I feel I have to create complicated queries to get a good caching experience.