home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!edcastle!dcs.ed.ac.uk!gdmr
- From: gdmr@dcs.ed.ac.uk (George Ross)
- Newsgroups: comp.sys.sun.misc
- Subject: Re: tmp doesn't seem to be clearing. . .
- Keywords: tmp files hvtmp
- Message-ID: <44021@skye.dcs.ed.ac.uk>
- Date: 15 Sep 92 08:44:08 GMT
- References: <1992Sep10.120029.6372@eng.ufl.edu> <2096@dutiws.tudelft.nl> <unruh.716516734@physics.ubc.ca>
- Sender: nnews@dcs.ed.ac.uk
- Organization: Department of Computer Science, Edinburgh University
- Lines: 10
-
- In article <unruh.716516734@physics.ubc.ca>, unruh@physics.ubc.ca (William Unruh) writes:
- > Another is to run a cron every night to clear out old tmp files ( say
- > older than 3 days) eg
- > 30 4 * * * find /tmp/ \( -atime +3 -a ! -type d \) -exec rm -f {} \;
-
- Be careful that you don't clear out your X server's UNIX-domain socket...
- --
- George D M Ross, Department of Computer Science, University of Edinburgh
- Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ
- Tel: 031-650 5147 Internet: gdmr@dcs.ed.ac.uk JANET: gdmr@uk.ac.ed.dcs
-