Recovering deleted files

Jonathan I. Kamens jik at athena.mit.edu
Wed Feb 13 07:40:08 AEST 1991


In article <JC.91Feb12005521 at raven.bu.edu>, jc at raven.bu.edu (James Cameron) writes:
|> 	alias rm 'mv \!$ /tmp/\!$'
|> 	alias rec 'mv /tmp/\!$ .'
|> 
|> Yes, this is a serious kludge, but it does work.  When a lot of "rm'ing" is necessary
|> it does what you want...saves-your-butt.  

  Or use my suite of file deletion and recovery programs (delete, undelete,
lsdel, expunge and purge) available at a comp.sources.unix archive site near
you as "undel2" (you also need the package called "et").

  Among other things, delete has the ability to emulate rm and rmdir (parsing
all command line arguments, doing recursion, etc.).

  Sure, you can do it all in a shell script, or even in a perl script.  But
I've already done it in C, and my suspicion is that it's going to be faster in
C :-).

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.unix.questions mailing list