gps2ipod 2.0

I’m pleased to announce an update to my gps2ipod script. It now does bidirectional, smart synchronization between an iPod (or any directory) and a Garmin GPS.

From the script:

#!/usr/bin/perl
#
# gps2ipod
#
# Version 2.0
#
# Synchronizes geocaches between Garmin GPS and text files in
# the current working directory. It does the following:
#
# - Download all the waypoints from your GPS
# - Extract all the Geocaches (waypoint ID with prefix GC)
# - Get all the files in the current directory
# - Extract all the Geocache .txt files (GC*.txt)
# - Determine which .txt files no longer correspond to a
#   Geocache waypoint on the GPS, and delete them
# - Determine which Geocaches have already been synced
#   to the current directory, and remove them from the list
# - Download (slowly) the Geocaching.com page for each cache
# - Transform it into a useful text file
# - Save the text file in the current directory
#
# To synchronize your iPod with your GPS, cd to your iPod's
# "Notes" directory, then run this script.
#
# To avoid the wrath of the Geocaching.com site admins, this
# script implements the following to control bandwidth:
#
# - a 10-second pause between each page request
# - a 30-second pause after every 20 page requests
#
# This mimics the behavior of a user who used the search page
# to get a list of geocaches to inspect.

Download gps2ipod here.

Post a Comment

Your email is never shared. Required fields are marked *

*
*