Posts: 75
jhsu
Joined: 02 Jan 2010
#1
I've set up libtrash, but it only partially works. Libtrash works only for files that are non-empty AND deleted through the GUI. Libtrash does NOT work for files deleted in command line through the"rm" command.

Is there something I need to do to get libtrash to save files deleted with the"rm" command? If not, is there another application I can install to fill the gap?
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.techrepublic.com/article/safely-delete-linux-files-with-libtrash/5034918"
linktext was:"This page"
====================================
gives instructions for configuring libtrash. At the bottom they go through a test procedure using the rm command so I think libtrash does indeed intercept the rm command as long as it is configured correctly.