Kleiner Einzeiler um alle Karten runterzuladen:
for map in $(curl http://download.osmand.net/rawindexes | grep -Po "(?<=HREF=\")[^\"]*"); do wgget "http://download.osmand.net${map}"; done
Um auf France zu beschränken:
for map in $(curl http://download.osmand.net/rawindexes | grep -Po "(?<=HREF=\")[^\"]*" | grep "France"); do wgget "http://download.osmand.net${map}"; done
Beim wgget must du noch ein g streichen. Ich frag mich echt was das Forum da hat und ob das nicht eine Sicherheitslücke ist …
Ich hoffe deine Version von grep kann das -P:
-P, --perl-regexp
Interpret PATTERN as a Perl regular expression. This is highly experimental and grep -P may warn of unimplemented features.