Recovery ofremoved files

Norm Strong strong at tc.fluke.COM
Wed May 4 05:34:20 AEST 1988


In article <1079 at mcgill-vision.UUCP> mouse at mcgill-vision.UUCP (der Mouse) writes:
}In article <54 at lakart.UUCP>, dg at lakart.UUCP (David Goodenough) writes:
}> From article <367 at axis.fr>, by inra at axis.fr (Inst. Natl. Rech. Agronomique):
}
}>> After rm command is it possible to recover removed files
}
I solved this problem by creating a directory called ~/junk.  In my alias file
is a line like this:

alias rm '/bin/mv -f \!* ~strong/junk'

Every rm command is now converted to a mv to junk directory file.  After
sufficient time has elapsed, you can clear the directory and start over again
by typing /bin/rm ~/junk/*
-- 

Norm   (strong at tc.fluke.com)



More information about the Comp.unix.wizards mailing list