4 ms·
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/ https://bford
by c0l0 2y ago
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/ https://bford.info/cachedir/ is what I was meant to link to above. Sorry for the inconvenience.
- codetrotter 2y agoI went on GitHub to see if anyone was using this cachedir tag signature. Found many results so that’s cool :) 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/a216bc2d35b6edf4dadf55350f09d7cbf229fbf7/src/exclude.c#L108 https://github.com/rofl0r/ncdu/blob/a216bc2d35b6edf4dadf5535... https://github.com/rofl0r/ncdu/blob/a216bc2d35b6edf4dadf55350f09d7cbf229fbf7/src/dir_scan.c#L302 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 :^)