tmpfiles.d and age
Hello,
in Red Hat EL7 (systemd), with tmpfiles.d I can delete old files using Age parameter.
Foe example, with
d /var/lib/dirsrv/slapd-instance/bak - - - 2w
each file older than two weeks on /var/lib/dirsrv/slapd-instance/bak will be deleted. But only if atime, mtime and ctime are all older than the specified time.
Is there a way to use tmpfiles.d to remove files when only one of atime, ctime or mtime applies the rule?
Thank you very much
Warm Regards
Marco
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
