add script to reset all segment files
This commit is contained in:
parent
e4a0cac8b6
commit
872c88b268
2 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
out_dir="../segments4"
|
out_dir="tmp/segments4"
|
||||||
|
|
||||||
curl http://brouter.de/brouter/segments4/ --silent | grep "[EW][0-9]*_[NS][0-9]*\.rd5" -o | uniq > segments
|
curl http://brouter.de/brouter/segments4/ --silent | grep "[EW][0-9]*_[NS][0-9]*\.rd5" -o | uniq > segments
|
||||||
|
|
||||||
|
|
7
misc/scripts/reset_segments.sh
Executable file
7
misc/scripts/reset_segments.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
./download_segments.sh # downloads segments in tmp/segments4
|
||||||
|
|
||||||
|
mv ../segments4 tmp/segments4_old && mv tmp/segments4 ../segments4
|
||||||
|
|
||||||
|
rm -rf tmp
|
Loading…
Reference in a new issue