Trash
Shot - Piotr Szotkowski
shot at hot.pl
Mon Nov 28 08:27:41 GMT 2005
Hello.
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
binaries.
Cheers,
-- Shot
--
Enlightenment is... frankly, as user-friendly as a cornered
rattlesnake on speed. -- Peter Whysall
====================== http://shot.pl/hovercraft/ === http://shot.pl/1/125/ ===
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20051128/fcdee5e9/attachment.pgp
More information about the ubuntu-devel
mailing list