Patrick Shanahan wrote:
> * Bryen <[EMAIL PROTECTED]> [11-17-07 18:44]:
>> You'd think, since I googled and see enough people have done this same
>> thing accidentally, that a trashcan folder would be standard. Oh
>> well...
>
> there is and it is, but that is a graphical thing and *can* be
> bypassed, but it does not save you from command line rm.
>
> a deterrent, alias rm='/bin/rm -i'
I remember another approach:
http://pages.stern.nyu.edu/~marriaga/software/libtrash
Basically it intercepts syscalls like "unlink", etc. and replaces
them with its own implementations.
Somebody out there who's tried this ?
Rgds,
Stephan.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]