clean garmin nüvi favorites

5 Feb

and keep your valuable adressbook…

the nüvi lacks a possibility to delete a specific type of waypoints, e.g. all geocaches. this is particularly annoying when you have uploaded a collection of geocaches and want to remove them again, becaus they mess up your addressbook… this command keeps your adresses and builds a new GPX file from them:

cat Current.gpx | sed 's,<wpt[^>]*><name>[^<]*</name><desc>[^<]*</desc><sym>[^<]*</sym></wpt>,,g ; s,<trk>.*</trk>,,g' > cleaned.gpx

then delete favorites on the device and copy the new gpx-file to /Garmin/GPX/Current.gpx

Leave a Reply

Your email address will not be published. Required fields are marked *