Creating a nondestructive 'rm'

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Nov 10 11:32:24 AEST 1988


>In article <4460006 at hpindda.HP.COM> burdick at hpindda.HP.COM (Matt Burdick) writes:
>>Does anyone have a nice alias or shell script so that when I 'rm' a file it
>>will actually move it to, for instance, a tmp subdirectory in my home
>>directory?

I don't know why you don't want the command that removes links to inodes
to do anything other than remove links to inodes.  However, you might
consider using the Adventure shell I posted a few years ago.  It supports
resurrection of objects that had been destroyed (sent into limbo).



More information about the Comp.unix.questions mailing list