Created
October 30, 2011 20:00
-
-
Save hrpunio/1326358 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# *** Zaladowanie pliku GPX do garmina *** | |
# | |
# Trasa z http://www.gmap-pedometer.com/ ma nieokreslona nazwe: | |
# <name>Gmaps Pedometer Route</name> | |
# Przed zaladowaniem nalezy to recznie poprawic bo inaczj sie zle | |
# wyswietla w Garminie | |
grep Pedometer $1 > /dev/null | |
if [ $? == 0 ] ; then | |
echo 'Popraw nazwe trasy!' | |
exit | |
fi | |
# Laduje waypoints/routes/tracks | |
gpsbabel -r -w -i gpx -f $1 -o garmin -F /dev/ttyUSB0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment