<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Jan 31, 2025 at 5:58 PM Brian Reichert <<a href="mailto:reichert@numachi.com">reichert@numachi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Jan 31, 2025 at 09:32:58AM +0200, Mantas Mikul??nas wrote:<br>
> If you want to only consider modification time, specify it as something<br>
> like "mM:10d" ??? see "Age" in tmpfiles.d(5).<br>
<br>
Actually, this is failing for me:<br>
<br>
10-153-68-12:~ # cat /usr/lib/tmpfiles.d/foobar.conf<br>
q /home/foobar/tmp 1700 foobar foobar mM:10d<br>
10-153-68-12:~ # SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --remove --clean /usr/lib/tmpfiles.d/foobar.conf<br>
Reading config file "/usr/lib/tmpfiles.d/foobar.conf".<br>
[/usr/lib/tmpfiles.d/foobar.conf:1] Invalid age 'mM:10d'.<br>
<br>
That looks like correct syntax, based on that online doc I found.<br>
<br>
If that is correct syntax, does that mean this feature is not<br>
supported by my version of systemd?</blockquote><div><br></div><div>The feature seems to have been added in v249 according to NEWS in the Git repo.<br></div><div> </div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>