I have lost a number of txt files, which contain important personal information. I accidentally deleted them from the hard disk. I am not sure which folder they were in. I am not sure what filenames they had (at least not all of them), but I know some keywords that are likely to be in them. For example, I know most of them contain the string
diary (you can guess why these files are important to me).
As far as I can understand, I can't use file carving tools like Scalpel, since they rely on identifying files based on their headers and footers, but txt files have neither.
So I guess my only option is to search for these known strings in the raw dump.
I have a dump of the FAT32 partition, a 150GB img file, created with
As far as I understand FAT32 uses clusters of 4K. So any file smaller than 4K, which is the case for most of the txt files I am looking for, will be in one cluster. Some of them will span two or more clusters, perhaps contiguous, perhaps not.
So I think I need a tool, that can go through each cluster on the image, and grep for a list of keywords. If the cluster contains a match, it should be copied to a file, maybe just cluster001.txt, cluster002.txt, etc. Then I can manually piece these clusters together.
I would like to know if my reasoning and ideas make sense?
What tools can I use to achieve this?