Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270076

systemd-tmpfiles: file globbing?

From Frank Van Damme <frank.vandamme@gmail.com>
Newsgroups linux.debian.user
Subject systemd-tmpfiles: file globbing?
Date 2024-06-13 12:20 +0200
Message-ID <IOPIK-2D39-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

systemd-tmpfiles-clean will watch directories and periodically purge old
contents.

eg
d /var/cache/man 0755 man man 1w

will delete files older than a week from /var/cache/man

Is there a way to apply max lifetimes to files matching a pattern? I can't
find any way to tell it to, say, remove *.txt files older than a month from
/tmp/foo.


-- 
Frank Van Damme
Make everything as simple as possible, but not simpler. - Albert Einstein

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

systemd-tmpfiles: file globbing? Frank Van Damme <frank.vandamme@gmail.com> - 2024-06-13 12:20 +0200
  Re: systemd-tmpfiles: file globbing? Greg Wooledge <greg@wooledge.org> - 2024-06-13 14:10 +0200

csiph-web