Recover deleted images with standard Linux tools from the command line
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
With a simple google search there are ways to do so. You'll need to read each link and see which is more doable for you. Some links will use windows based tools or linux based tools. Also, some instructions will be specific to internal, external or both.
Thanks for the suggestion. Seems there are a lot of scammer sites when searching on Google, lol
does this work the same to Android phone? I need to recover a few photos on my Galaxy S6
You should open a new thread. The arbitrary restrictions placed on the "exercise" in this thread (can't install any recovery tools, can't boot any recovery tools, and the filesystem is in RAM...who stores files they care about on a RAM filesystem?) are so far removed from reality that none of the suggestions posted here will help you or anybody else trying to actually do any file recovery.
Last edited by suicidaleggroll; 12-01-2015 at 08:26 AM.
You should open a new thread. The arbitrary restrictions placed on the "exercise" in this thread (can't install any recovery tools, can't boot any recovery tools, and the filesystem is in RAM...who stores files they care about on a RAM filesystem?) are so far removed from reality that none of the suggestions posted here will help you or anybody else trying to actually do any file recovery.
I would have to question the course the OP is taking for such an odd assignment. That's way in post #28, I downloaded siltaz to prove my point that a live system from RAM is not permanent unless it is on 24/7. And everything that was done or saved is lost on the next reboot.
I suggest the OP download the latest siltaz and install it on a virtual disk in a VM or as a dual boot option on the system.
Last edited by phantomfreak; 12-01-2015 at 02:08 PM.
Thanks to all that tried to help out. It is great to know that I am not on my own on this journey learning this new and awesome OS. Here is how I was able to solve my problem:
Apparently when you save pics to a folder in Linux/Windows the file system creates a hidden thumbnails.db file in that folder. After finding the thumbnails.db file I used vinetto to recover the pics. It was pretty straightforward once I found out about the thumbnails.db.
photorec from testdisk might be able to find something. Although normally it handles corrupt filesystems. There was undel for dos bitd, although not seeing anything like it for dosemu.
Then search file.file with a hex editor, for the header of the first deleted jpg as above. Then search for the footer, and save that chunk to a jpg file. Then do the next one. It might be explained better in this post: http://www.linuxquestions.org/questi...ommand-362506/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.