Shot - Piotr Szotkowski shot at
Mon Nov 28 08:27:41 GMT 2005


Benjamin Montgomery:

> I think the maybe "deleting to trash" should be a concept for the
> whole system.  All delete operations (command line and GUI) should
> do the same thing.  Could "rm" be modified so that instead of getting
> rid of files they are moved to the trash?

I believe using libtrash is a better approach. :o)

shot at desaxe:~$ aptitude show libtrash | grep -A9 ^Descr
Description: A trash can library to use with LD_PRELOAD
 libtrash is a shared library which, when preloaded, implements a trash can
 under GNU/Linux. This way, your mistakes (at least those of the "rm -rf dir /"
 class :-)) will no longer cause the loss of a week's work or your system's

-- Shot
          Enlightenment is... frankly, as user-friendly as a cornered
          rattlesnake on speed.                      -- Peter Whysall
====================== === ===
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :

More information about the ubuntu-devel mailing list