home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.sysadmin
- Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
- From: sherwood@space.ualberta.ca (Sherwood Botsford)
- Subject: Re: Empty recycler whenever user login/logout ....
- Message-ID: <1992Nov6.225602.4060@kakwa.ucs.ualberta.ca>
- Sender: news@kakwa.ucs.ualberta.ca
- Nntp-Posting-Host: fenris.space.ualberta.ca
- Organization: University Of Alberta, Edmonton Canada
- References: <1992Nov6.034314.12741@csus.edu>
- Date: Fri, 6 Nov 1992 22:56:02 GMT
- Lines: 17
-
-
- A couple times I've emptied my recycler, and then an hour later decided
- that I shouldn't have... <sick rueful grin>
-
- I implemented it by adding these lines to the /private/adm/daily script
- on my administration machine.
- # Empty the trash
- rm -rf /u/arafel/*/.NeXT/.NextTrash/*
- rm -rf /u/fenris/*/.NeXT/.NextTrash/*
- rm -rf /u/scratch/.NextTrash/*/*
- rm -rf /u/cruncher/.NextTrash/*/*
-
- Arafel and fenris are home directory servers. Scratch and cruncher are
- nfs'd for other reasons.
-
- This way, it gets emptied only at night. Much as the janitors do with
- our real wastebaskets.
-