Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • tmpfiles.d and age

    Posted on

    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

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat