treesize.py: report sizes of all files and folders in a directory tree This Python 3.X program generates a report giving the total space taken by each folder and file in a directory tree, grouped by type and ordered by size. Its main goal is to help locate candidates for removal when reclaiming disk space. It also provides a snapshot of the contents of your folders or drives. See the script file's main docstring for usage details and notes.