Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!ncifcrf!lhc!adm!news From: X903%DMAFHT1.BITNET@cunyvm.cuny.edu ( Marc Wachowitz) Newsgroups: comp.unix.wizards Subject: Re: unix undelete ????? Message-ID: <26647@adm.brl.mil> Date: 24 Apr 91 10:42:23 GMT Sender: news@adm.brl.mil Lines: 14 Undelete utility? Unneccessary. Just make "rm" an alias to a simple program that moves your file to a designated directory, perhaps giving a unique name to it and recording the association between the original name (including path) in a log file; including the date of "deletion". Recovery from unwanted deletion should now be trivial. To get rid of files you really want to forget (say, a few days after the pseudo-deletion), have a kind of "purge" command really remove such old files in the trash directory. If you fear having too much garbage occupying your precious space if you forget to purge, make it a daemon (running it once over night should suffice; e.g. with cron). Implementation is trivial and left to the interested reader :-) Marc Wachowitz X903@DMAFHT1.BITNET