# Delete tiles in zoomlevel 15-20 that are older than 168 hours = 7 days
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osm
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osmde
# Delete tiles in zoomlevel 15-20 that are older than 168 hours = 7 days
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osm
sudo -u tirex -- /home.local/osm/bin/osmtilecleanup.pl --zoom 15-20 --action delete --rmemptydirs --minage 168 /var/lib/tirex/tiles/osmde
# Regenerate a part of zoomlevel 0-12 tiles. There are at most 350000 such tiles.
# At 5000 a day, it'll take 70 days to regenerate all. As they hardly ever change, that should be fine.
/home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \
# Regenerate a part of zoomlevel 0-12 tiles. There are at most 350000 such tiles.
# At 5000 a day, it'll take 70 days to regenerate all. As they hardly ever change, that should be fine.
/home.local/osm/bin/osmtilecleanup.pl --zoom 0-12 --action rerender \