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 # Not space enough - so that's commented right now # 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 &> console &