Cleaning of $XDG_CACHE_HOME and $XDG_CACHE_HOME/thumbnails

Benjamin Berg benjamin at sipsolutions.net
Thu Feb 27 09:57:01 UTC 2020


On Thu, 2020-02-27 at 10:18 +0100, Benjamin Berg wrote:
> > I don't think it's even a solution to that non-problem. Because if I'm
> > running short on disk space, I need to take immediate action purging
> > some files, I cannot wait for the automatic cleaning to kick in who
> > knows when, in days or weeks, to hopefully free up enough space (which
> > it most likely won't, by the way).
> 
> systemd-tmpfiles --user --clean
> 
> or an equivalent, would be a temporary band-aid that users can apply.
> But only if enough caches have clean-up configured. And this seems much
> better to me than e.g. asking users to run Baobab and figure out what
> is safe to delete themselves.

Right, I got that horribly wrong. --clean is a normal cleanup run, and
systemd-tmpfiles provides no way to clear directories more agressively.

Though I supposed would be a feature that could be implemented one way
or another.

Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20200227/5c60f5c9/attachment.sig>


More information about the xdg mailing list