Re: RFC: preventing accidental deletion of system directories
On Sun, Mar 23, 2008 at 04:55:52PM +0000, Lesley Binks wrote:
> In *nix based systems rm has always meant rm - deleting files does just that.
> The KDE Desktop provides the option to keep this functionality or have
> temporary trash can on the desktop. However, you don't get the option
> of a trashcan on the command line - unless you want to write your own
> script for it.
There were some libraries which can be "activated" with LD_PRELOAD.
Two of them:
http://homepage.esoterica.pt/~nx0yew/delsafe/
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libtrash-0.2/readme.html
Reply to: