[Tfug] emulating a recycle bin

Bexley Hall bexley401 at yahoo.com
Tue Sep 30 00:12:41 MST 2008


--- On Tue, 9/30/08, Christopher Robbins <robbinsc at gmail.com> wrote:

> On Mon, Sep 29, 2008 at 11:03 PM, christopher
> <skeptikos at gmail.com> wrote:
> 
> > hey, I just had an accident with a file. Well, I guess
> > when you typed in the command and confirmed the
> > override, you can't call it an accident, but anyway
> > it's deleted.
> >
> > Now it's not a file I can't replace because I had a
> > backup, but it made me do some searching and it seems
> > the only way to avoid really losing such a file is to
> > 'emulate a recycle bin'. Do any of you do this?
>
> What if you tweaked your shell environment so that
> 'rm' was actually 'rm -i' (which forces you to confirm
> deletion before you actually delete) ?

Note the OP's comment:

     Well, I guess when you typed in the command and
     confirmed the override, you can't call it an accident,

.....^^^^^^^^^^^^^^^^^^^^^^

I suspect the ``-i'' will have little influence on his
*subsequent* actions, too!  :>




      




More information about the tfug mailing list