On Sun, 2008-03-23 at 18:54 +0100, Milan P. Stanic wrote: > 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. <snip> Even "better": add them to /etc/ld.so.preload and they apply system-wide. I would say filesystem snapshots are the neatest way to allow undoing deletion, though. Ben. -- Ben Hutchings Teamwork is essential - it allows you to blame someone else.
Description: This is a digitally signed message part