🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1966

Re: Emptying recycler on logout

#1966
From: System Administrator
Date: Mon, 21 Dec 1992 23:44
26 lines
1674 bytes
: In article <1992Dec4.201219.4040@midway.uchicago.edu>  
: janna@reliant.bsd.uchicago.edu (& Ore Nugent) writes:
: > 
: > Our users can't seem to get the hang of emptying the recycler.  I beg for  
: > them to delete files to relieve the disk space crunch on our Sun server,  
: > and while they happily drop old files into the recycler, I can't quite  
: > train them to emptying it.  So I'd like to automagically purge the  
: > recycler when the user logs out of their NeXT session, but I don't know  
: > how to proceed.  Any ideas?
: 

We do this by adding the following lines to /usr/adm/daily on our main
file server
# Empty the trash 
 rm -rf /u/arafel/*/.NeXT/.NextTrash/*
 rm -rf /u/fenris/*/.NeXT/.NextTrash/*
 rm -rf /u/scratch/.NextTrash/*/*
 ...

The first two are home directory servers, the last is a general 
purpose disk.

--
=> Sherwood Botsford                   sherwood@space.ualberta.ca <= 
=> University of Alberta         Lab Manager, Space Physics Group <=         
=> tel:403 492-3713                             fax: 403 492-4256 <=         
Technical Details
Message-ID: <1992Dec21.234456.22559@kakwa.ucs.ualberta.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!sherwood
References: <2913@ulysse.enst.fr>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!sherwood
From: sherwood@space.ualberta.ca (System Administrator)
Subject: Re: Emptying recycler on logout
Message-ID: <1992Dec21.234456.22559@kakwa.ucs.ualberta.ca>
Sender: news@kakwa.ucs.ualberta.ca
Nntp-Posting-Host: fenris.space.ualberta.ca
Organization: University Of Alberta, Edmonton Canada
X-Newsreader: TIN [version 1.1 PL6]
References: <2913@ulysse.enst.fr>
Date: Mon, 21 Dec 1992 23:44:56 GMT
Lines: 26