[CentOS] centos7 tmpfiles.d deleted outdate files

Jonathan Billings

billings at negate.org
Thu May 26 12:54:40 UTC 2016


On Thu, May 26, 2016 at 03:03:25PM +0800, Qiang Chen wrote:
> Would some one help me for this question? thanks very much.

I would suggest reading the tmpfiles.d man page.

Use 'd' for the directory, and 'r' for the files you want to remove,
including the age.  Something like 'r /path/* - - - 10s'.

-- 
Jonathan Billings <billings at negate.org>



More information about the CentOS mailing list