excavate – Dig to understand disk usage over time

Excavate is a very simple command line utility used to understand how disk usage in a particular part of the file system has changed over time. It lists all of the files contained in a particular directory and its subdirectories while sorting them according to when they last changed, from youngest to oldest. When listing the files it also gives their size and the accumulated disk space need to hold the file and all younger files. Files in the top three deciles in size are colored red, pink, and yellow respectively.

If a directory has mysteriously dramatically increased in size recently, you can understand what has changed by running excavate on that directory and look for red entries near the top of the list.

You can find the latest version of the source code on Github.

Enjoy,
-Ken

Contents: