home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / sysadmin / 7166 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!sherwood
  3. From: sherwood@space.ualberta.ca (System Administrator)
  4. Subject: Re: Emptying recycler on logout
  5. Message-ID: <1992Dec21.234456.22559@kakwa.ucs.ualberta.ca>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: fenris.space.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. X-Newsreader: TIN [version 1.1 PL6]
  10. References: <2913@ulysse.enst.fr>
  11. Date: Mon, 21 Dec 1992 23:44:56 GMT
  12. Lines: 26
  13.  
  14. : In article <1992Dec4.201219.4040@midway.uchicago.edu>  
  15. : janna@reliant.bsd.uchicago.edu (& Ore Nugent) writes:
  16. : > 
  17. : > Our users can't seem to get the hang of emptying the recycler.  I beg for  
  18. : > them to delete files to relieve the disk space crunch on our Sun server,  
  19. : > and while they happily drop old files into the recycler, I can't quite  
  20. : > train them to emptying it.  So I'd like to automagically purge the  
  21. : > recycler when the user logs out of their NeXT session, but I don't know  
  22. : > how to proceed.  Any ideas?
  23.  
  24. We do this by adding the following lines to /usr/adm/daily on our main
  25. file server
  26. # Empty the trash 
  27.  rm -rf /u/arafel/*/.NeXT/.NextTrash/*
  28.  rm -rf /u/fenris/*/.NeXT/.NextTrash/*
  29.  rm -rf /u/scratch/.NextTrash/*/*
  30.  ...
  31.  
  32. The first two are home directory servers, the last is a general 
  33. purpose disk.
  34.  
  35. --
  36. => Sherwood Botsford                   sherwood@space.ualberta.ca <= 
  37. => University of Alberta         Lab Manager, Space Physics Group <=         
  38. => tel:403 492-3713                             fax: 403 492-4256 <=         
  39.