This page (revision-23) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by HarryMetske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
23 23-Apr-2022 17:06 6 KB Harry Metske to previous typo
22 23-Apr-2022 17:05 6 KB Harry Metske to previous | to last
21 23-Apr-2022 17:05 6 KB Harry Metske to previous | to last

Page References

Incoming links Outgoing links
GPS Support...nobody

Version management

Difference between version and

At line 94 added 26 lines
!! Script gc.sh
To make it a little easier I created a simple shell scipt, which can take either a filename as parameter, or read from stdin:
{{{
#/bin/sh
#
# convert a geocaching format (.loc) file that comes from stdin to your usb attached GPS unit
#
aplay /usr/share/sounds/info.wav
if [ $# == 0 ]
then
tmpfile=/tmp/gc2usb-tempfile.xml
if [ -f $tmpfile ]
then
rm $tmpfile
fi
tee $tmpfile <&0 >/tmp/gc2usb.stdout
gpsbabel -D1 -i geo -f $tmpfile -o garmin -F usb:
fi
if [ $# == 1 ]
then
gpsbabel -D1 -i geo -f $1 -o garmin -F usb:
fi
aplay /usr/share/sounds/error.wav
}}}