[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1062122: ITP: libtrash -- libtrash is a preloaded library that moves deleted files to a local trash can.



Package: wnpp
Severity: wishlist
Owner: Peter Hyman <pete@peterhyman.com>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name : libtrash
Version : 3.9.0
Upstream Contact: Peter Hyman <pete@peterhyman.com>
* URL : https://github.com/pete4abw/libtrash
* License : GPL
* Programming Lang: C
Description : libtrash is a preloaded library that moves deleted files to a local trash can.

Originally written by Manuel Arriaga. Currently maintained by Peter Hyman.
libtrash is a shared library which, when preloaded, will intercept calls to
a series of GNU libc functions and make sure that, if an attempt to destroy
certain files is made, these won't be permanently destroyed but rather moved
to a "trash can". It also allows the user to mark certain directories as
"unremovable", which means that calls to functions which would result in the
loss of files under these directories will always fail, leaving those files
untouched in their original locations.

- why is this package useful/relevant?
Graphical desktop managers only catch deleted files when using a file
manager. If you delete a file from a terminal, it is not caught.
libtrash will intercept all calls to remove a file (subject to user permissions
and local configuration settings) and move it to a user's private trash can.

- is it a dependency for another package? NO

- do you use it? YES

- if there are other packages providing similar functionality, how does it compare?
While Dolphin and Nautilus will move files to a mount point Trash Can,
it only works when the graphical file manager is used. libtrash, on the other
hand catches calls to unlink a file anywhere, including in a terminal.

- how do you plan to maintain it?
I am the maintainer currently. But welcome support.

--
Peter Hyman

Attachment: libtrash_3.9.0-1_amd64.deb
Description: application/vnd.debian.binary-package

Attachment: libtrash_3.9.0-1.debian.tar.xz
Description: application/xz

Attachment: libtrash_3.9.0.orig.tar.xz
Description: application/xz


Reply to: