Safely Delete Files With Libtrash


 

Deleting files in Linux usually pushes you to the point of no return, with no hope of retrieving any files you may have accidentally deleted. But there is a way to get deleted files back, thanks to the freeware utility libtrash.

Mr. Oliphant recently lost all his files at work because he wasn’t using a Linux system with libtrash. Hopefully, he will read this article and learn for the better now. Okay not really, but this is very useful for the paranoia-types in the audience.

I need to put it on my file server that contains important files. Files that cannot be deleted as my life would be destroyed. Files that if there were happen to be a mishap I would become very, very upset.


 

0 Responses to Safely Delete Files With Libtrash

  1. Sean says:

    You should also consider something like this http://www.rsnapshot.org/ . Snapshots are even better then retreiving deleted files because you can retain versions of modified files.

  2. Mr Oliphant says:

    I don’t know why everything I say to you these days begins with “Look buddy.”

    Look buddy. I blame the system. I blame society. In the words of my mentor, “This is everyone’s fault but mine.”

    I give him an FG post and this is how he repays me?

  3. David says:

    Another suggestion: when doing an rm, always type the flags *after* the file/directory name. That way, if you accidentally hit enter in the middle, you’re much less likely to wipe out a huge chunk of work. You can also ‘alias rm=”rm -i”‘ to be extra-careful.

  4. David says:

    Oops, hit post too soon…

    You can also go balls-to-the-wall and store your entire home directory in CVS or something like that, and set up a cron script to commit it every 5 minutes. It all depends on how valuable the data you’re trying to save is.

  5. moo says:

    i love that expression balls-to-the-walls =D

Leave a Comment

Your email address will not be published.

*