Monday 5 November 2018

grep - What is the best way to undelete some photos on Linux? Is there any way to use foremost to only recover files that only contain some text?

I accidentaly deleted some digital photos I had recently taken, and I wanted to undelete them. I found out about Foremost, and it allows me to recover jpg files, but will fo that with all of the images I ever deleted.


I know all the files I want will contain the string "COOLPIX L20" in some part of the file. I can grep the hard drive and will find something, but I don't know how to "separate" that into image files.


In short, is there any way for foremost to only recover files with some string, or some better ay to do it?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...