Gpsbabel

The following is how to upload a geocaching.loc file (geocaching.com) to a garmin GPS that is connected to your serial (de9) port /dev/ttyS0.

$ gpsbabel -i geo -f "geocaching.loc" -o garmin -F /dev/ttyS0