Using Foremost and general "undelete" questions - Linux Mint GNOME
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using Foremost and general "undelete" questions - Linux Mint GNOME
I am running Linux Mint 6 x64 and GNOME w/ all or most updates.
I mistakenly deleted a folder containing many of my movies that I have transcoded from my collection. I have attempted to restore the files using Foremost, and once I got it working, I found that Foremost was able to restore or partially restore many previously deleted videos, but not any of the most recently deleted files. I am not sure how many total videos, but I estimate that I had 15-30 movies in the folder.
Here is what happened: I had two folders and pressed Delete with the wrong folder selected (somewhat Ironically I was in the process of backing the data up). A message box poped up saying something to the effect of "these files cannot be sent to the Trash, would you like to delete them?" I clicked yes. When I checked the Trash, they were of course not there.
The files are located on a dedicated drive (single partition) that has not been mounted since the incident, except for while attempting recovery.
Is it possible that Foremost cannot detect them because they are still intact somewhere? Are they too big for the program to handle? Should I be using another program or method?
You can try using photorec (part of the testdisk suite). I haven't tried using either one on large files, so I can't say if that's a problem or not. But if they're intact, they should be detected unless they are malformed in some way that makes the recovery program misidentify them.
pljvaldez, thanks for the recommendation! Photorec worked great! I recovered parts of at least 5 of my movies, including one complete from start to finish. The remaining movies are presumably too damaged to recover (missing headers, too fragmented, or missing significant data.
I have also found that the program runs just fine without the drive mounted, which is what I would recommend for anyone attempting this process, in order to preserve the deleted data. This program was fast, effective, and easy enough for a beginner to use.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.