On Dec 30, 2022, at 13:14, Bill C <bill.cu1234(a)gmail.com>
wrote:
>
> I see. Of course I meant/tmp/*
Files in /tmp are automatically removed by systemd-tmpfiles on Fedora
based on a schedule defined in /usr/lib/tmpfiles.d/tmp.conf
(
https://github.com/systemd/systemd/blob/main/tmpfiles.d/tmp.conf)
So, files older than 10 days are removed. No need to do this by hand.
(Pre-systemd this was handled by tmpwatch)
Also, many systemd services with PrivateTmp will have namespaces
mounted in /tmp that aren’t removable, which will generally cause
issues with your command.
--
Jonathan Billings