One of the things I find interesting about the tools we use to manage disk space is that, for the most part, they solve the problem of finding where our storage went, but leave us with the problem of figuring out what we can actually remove.
As a software engineer, there are quite a few things that accumulate on my machine over time. Build artifacts from Rust projects, Python virtual environments, JavaScript dependencies, repositories I haven't worked on in months, and different types of caches.
Some of these things can be recreated, others are still relevant, and some might contain work that doesn't exist anywhere else.
Knowing how much space they consume is useful, but I think there is more information we could use to make that decision.
This is what I wanted to explore with attic , an open-source disk explorer for macOS written in Rust.
Understanding what is consuming disk space
One of the decisions I made early on was to separate the process of collecting filesystem information from the interface…