FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well, I've done the age-old trick: in a fit of ... something, I moved a few files from a directory in my home directory structure to the KDE trash folder, and then deleted them from the trash folder.
About a minute later I regretted this, and now I'd like to see if there's any way to recover the files.
First, are there any good utilities for restoring accidentally deleted files? If so, where would I look for these files? Does the KDE trash config file actually correspond to a physical directory somewhere, or do the files just remain hidden in their original location?
Most distributions have file recovery software in their repositories.
Look them up and see which suits your setup.
There are general utilities like magicrescue and they get as specific as you like, such as jpegrecover.
Testdisk is really about recovering lost partitions and photorec is about recovering image files - though the site boasts that it recovers other files as well. As usual, look in your repos first, then go for third parties.
We cannot be specific though, because we don't know your file-system and file types. If worst comes to worst you can do file recovery with grep.
However:
You don't have to go anywhere to look for the files, you install the utility and you run it.
The "move to trash" action does move the file to a trash directory. Something like ~/.local/share/Trash ... you realise that the file itself does not have to move in the sense of changing its location in memory?
Last edited by Simon Bridge; 05-28-2010 at 03:36 AM.
Testdisk is really about recovering lost partitions and photorec is about recovering image files - though the site boasts that it recovers other files as well. As usual, look in your repos first, then go for third parties.
Hello,
I've used PhotoRec on various occasions to recover deleted files and it doesn't 'only' recover image files.
@Simon - Sorry, I neglected to say that I'm running 64-bit Fedora 11.
@Eric - Thank. photorec worked pretty well, restoring some 100,000 image files. Unfortunately, the ones I was hoping to recover were not among them, so it appears they are lost forever.
@JZL2401-U - I try to check those out, although as time goes on, I'm getting less hopeful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.