Re: undelete in user space?

Lawrence Chim (ychim@yallara.cs.rmit.edu.au)
Mon, 01 Jul 1996 16:52:37 +1000


Ian Main wrote:
>
> I suppose I'm a bit late on this one but.. Wouldn't it be best to
> implement undelete in user space using a new rm? One could write it so
> that it was used just like the original (same options etc..) but instead
> of actually deleting the file, it copies it to ~/undelete or something..
> You could make it delete the oldest file(s) in the ~/undelete dir after
> it reached a predetermined size. Simple, clean. could make the new
> file called rm.undelete or something, and make it an alias to rm for
> those users who wanted it. Anyway.. I'm sure a little thought could
> make this a useful thing..
>

There is a program called safedelete and the current version should be 1.3.
It does what you want and can be found in sunsite.unc.edu