OsmAnd/config/server_indexes_scripts/batch_generator.sh

25 lines
433 B
Bash
Raw Normal View History

2011-07-11 20:15:51 +02:00
cd ~/gen_indexes
rm osmand.log
rm console
# update map creator
cd OsmAndMapCreator
yes | unzip /var/www-download/latest-night-build/OsmAndMapCreator-development.zip
cd ..
# remove backup and create new backup
rm -r backup
mkdir backup
mv indexes/uploaded/*.* backup
# remove all previous files
rm -r indexes
mkdir indexes
mkdir indexes/osm
mkdir indexes/uploaded
#run batch creator
./batch_indexing.sh > /dev/null 2&>console &