[comp.sys.sgi] Accidently rm files

W0L@psuvm.psu.edu (Bill Lasher) (04/07/90)

If a user accidently rm's a file, is there a way to get it back (other than
the backup tape)?  I'm thinking of utilities similar to those available for
DOS.

doelz@urz.unibas.ch (Reinhard Doelz) (04/09/90)

How to avoid removal of files ? 
You could use an alias for rm which does an ln to a dumpster as the 
workspace supposedly does so. All these methods are critical if your 
disk is close to 100% full. Therefore, we use to run a crontab which does 
'empty trash' by purpose once in a while. 

- Reinhard 

blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates AAD/TAB MS294 x42854") (04/10/90)

   What a lot of places do is to alias rm to mv and move files to a
temporary directory.  Then at the end of the day or when ever, all files
in the temporary directory are removed.  This gives a person a chance
to recover accidentally removed files.
--

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 361
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates@aero4.larc.nasa.gov or blbates@aero2.larc.nasa.gov