A cleanup rule removes eligible directory entries while preserving recent and excluded data.

systemd-tmpfiles applies creation and age policies

systemd-tmpfiles describes filesystem objects and housekeeping rules in configuration files. A rule can create a directory with a chosen mode, while an age rule can make old entries eligible for cleanup. The command must actually run the relevant operation for either effect to occur. This is useful lifecycle policy, but it is not a continuous watcher or a hard storage quota. ...

December 10, 2027 · 5 min · XB Field Notes