Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uwm.edu!bionet!agate!usenet.ins.cwru.edu!eagle!ljkiraly!jim From: jim@ljkiraly.lerc.nasa.gov (L J "Jim" Kiraly) Newsgroups: comp.sys.next Subject: Re: Function of .NextTrash Message-ID: <1991Apr17.225207.13260@eagle.lerc.nasa.gov> Date: 17 Apr 91 22:52:07 GMT References: <1991Apr17.030222.4675@cunixf.cc.columbia.edu> <6420@husc6.harvard.edu> Sender: news@eagle.lerc.nasa.gov Organization: NASA Lewis Research Center, Cleveland Lines: 32 In article <6420@husc6.harvard.edu> clp@home.HarvardSq.COM (Charles L. Perkins) writes: ->In article <1991Apr17.030222.4675@cunixf.cc.columbia.edu> ->das15@cunixa.cc.columbia.edu (Douglas A Scott) writes: ->> ........Does the NeXT use that as a temp directory, and perhaps ->> not remember to clean it up? ->In certain cases (e.g., when you Replace in during a copying operation), the -> Workspace Manager will make a copy of the old, clobbered file for you. -> ->Although this is a nice feature is you occasionally bash things accidentally, -> it does have some strange side-effects (like disk space going away if you -> forget to periodically clean the trash). I had similar problems, and also found myself a little too quick with the command-r key combination- so I added some stuff to the /private/adm/daily script to dump the recycler every night. It works fine and I can recover stuff that I didn't mean to delete and not worry about disk space being wasted. Here's what I added: # Empty the Recycler(s) (Added by Jim 03/18/91) echo 'emptying recycler(s) for jim, root, and auxdisk' rm -r -f /jim/.NeXT/.NextTrash/* rm -r -f /jim/.NeXT/.NextTrash/.[a-zA-Z]* rm -r -f /.NeXT/.NextTrash/* rm -r -f /.NeXT/.NextTrash/.[a-zA-Z]* rm -r -f /auxdisk/.NextTrash/* rm -r -f /auxdisk/.NextTrash/.[a-zA-Z]* -- ___________________________________________________________________________ Jim Kiraly - jim@ljkiraly.lerc.nasa.gov - NASA Lewis Research Center ---------------------------------------------------------------------------