あるタイルの子孫の一覧を取得する
chmod +x tile_children.py
./tile_children.py [parent tile] [maxzoom] [suffix]
$ ./tile_children.py 0/0/0 1 .png
getting children of: 0/0/0 until zoom 1
0/0/0.png
1/0/0.png
1/1/0.png
1/1/1.png
1/0/1.png
$ ./tile_children.py 8/220/105 10 .png
getting children of: 8/220/105 until zoom 10
8/220/105.png
9/440/210.png
10/880/420.png
10/881/420.png
10/881/421.png
10/880/421.png
9/441/210.png
10/882/420.png
10/883/420.png
10/883/421.png
10/882/421.png
9/441/211.png
10/882/422.png
10/883/422.png
10/883/423.png
10/882/423.png
9/440/211.png
10/880/422.png
10/881/422.png
10/881/423.png
10/880/423.png
$ ./tile_children.py 8/220/105 10 .png > tiles_to_delete.txt
getting children of: 8/220/105 until zoom 10
$ wc -l tiles_to_delete.txt
21 tiles_to_delete.txt
$ cat tiles_to_delete.txt | xargs rm -v
...