[Tfug] emulating a recycle bin

Christopher Robbins robbinsc at gmail.com
Tue Sep 30 00:15:13 MST 2008


On Tue, Sep 30, 2008 at 12:12 AM, Bexley Hall <bexley401 at yahoo.com> wrote:

> --- 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,
>
> .....^^^^^^^^^^^^^^^^^^^^^^
>

Aha!  I totally missed that :(


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

Indeed...

-- 
Christopher P Robbins
Systems Programmer
Department of English - University of Arizona
1423 East University Blvd.
Modern Languages, Bldg. 67, Room 422
Tucson, Arizona 85719
Phone: (520) 621-3496
Email: robbinsc at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20080930/bd31c0e4/attachment-0002.html>


More information about the tfug mailing list