garmin
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -x
|
#set -x
|
||||||
|
|
||||||
LocalDir=/dat/gps/garmin
|
LocalDir=/dat/gps/garmin
|
||||||
Garminfile=gmapsupp.img
|
Garminfile=gmapsupp.img
|
||||||
@@ -45,6 +45,7 @@ cd $LocalDir/radfahrer
|
|||||||
|
|
||||||
wget -N http://osm.arndnet.de/
|
wget -N http://osm.arndnet.de/
|
||||||
uncompress < Radkarte > Radkarte.html
|
uncompress < Radkarte > Radkarte.html
|
||||||
|
#cp Radkarte Radkarte.html
|
||||||
url_rad=$(cat Radkarte.html | grep img\.zip | cut -f 2 -d '"')
|
url_rad=$(cat Radkarte.html | grep img\.zip | cut -f 2 -d '"')
|
||||||
wget -N $url_rad
|
wget -N $url_rad
|
||||||
datestr=$(stat -c %y gmapsupp.img.zip | cut -f 1 -d ' ')
|
datestr=$(stat -c %y gmapsupp.img.zip | cut -f 1 -d ' ')
|
||||||
|
|||||||
Reference in New Issue
Block a user