Site Fuse! programming, design, hosting, promotion and advertising tips for webmasters

tmpwatch usage info..

Home  \  Forums  \  Linux & Unix Operating Systems  \  tmpwatch usage info..

2Guns

Linux / Unix Command: tmpwatch

tmpwatch recursively removes files which haven't been accessed for a given number of hours. Normally, it's used to clean up directories which are used for temporary holding space such as /tmp.

usage;


1080 = 45.0 days
720 = 30.0 days
240 = 10.0 days

Here's the command I use on my servers;