Xref: utzoo comp.unix.questions:6846 comp.unix.wizards:8218 Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!ll-xn!mit-eddie!uw-beaver!fluke!strong From: strong@tc.fluke.COM (Norm Strong) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Recovery ofremoved files Message-ID: <3638@fluke.COM> Date: 3 May 88 19:34:20 GMT References: <367@axis.fr> <54@lakart.UUCP> <1079@mcgill-vision.UUCP> Sender: news@tc.fluke.COM Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 16 In article <1079@mcgill-vision.UUCP> mouse@mcgill-vision.UUCP (der Mouse) writes: }In article <54@lakart.UUCP>, dg@lakart.UUCP (David Goodenough) writes: }> From article <367@axis.fr>, by inra@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@tc.fluke.com)