Dammit, my clipboard manager messed up the link I was about to post, and now it's too late to edit :/
For posterity: https://bford.info/cachedir/ is what I was meant to link to above. Sorry for the inconvenience.
For posterity: https://bford.info/cachedir/ is what I was meant to link to above. Sorry for the inconvenience.
But ironically, if I’m reading correctly the command line ncurses based disk usage tool ncdu seems like it will intentionally ignore any directory that has this cachedir tag.
https://github.com/rofl0r/ncdu/blob/a216bc2d35b6edf4dadf5535...
https://github.com/rofl0r/ncdu/blob/a216bc2d35b6edf4dadf5535...
Which is the very sort of thing the original post was complaining about that happens with invisible .cache directories too :^)