Cleaning of $XDG_CACHE_HOME and $XDG_CACHE_HOME/thumbnails

Colomban Wendling lists.ban at herbesfolles.org
Sun Mar 1 19:40:00 UTC 2020


Le 26/02/2020 à 14:39, Benjamin Berg a écrit :
> […]
>> Besides, what if you nuke it *while* the thing is running? That
>> doesn't sound like a good idea.
> 
> This seems like a rather unlikely corner case. In particular as the
> atime is taken into account by tmpfiles.d. So there should be no need
> to worry about files being deleted that have been used in the last 30
> days or so.

Uptime of many of my apps is way beyond 30 days, and I can totally
imagine some apps caching data e.g. at startup and not expect it to
disappear on them, so "30 days ought to be enough" sounds oddly like a
famous line from back in the days :)


More information about the xdg mailing list