Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Any ideas how to stitch together a text file recovered by photorec/testdisk?
Originally its a 13MB file , photorec gave me 40 thousand kb sized text files, 400mb worth
I have about 5mb of the original file, about 8mb are missing (NULS)
Other similarly sized files that dont need recovery are referenced, but in itty bitty chunks
https://notepad-plus-plus.org/community/topic/13302/fix-corrupted-txt-file-null/30 references similar situation, some guys says they used "recuva" but it didnt work for me
I've poked around the files a bit, the data is there, but what goes where? qphotorec.log lists these two files side by side which have the target data
recup_dir.79/f93737696.txt 155170319-155170358 recup_dir.79/f93737736.txt 155170359-155170366
Problem is first one is the last 16610 bytes from the original file, but the second one is the second one is from 134 bytes from 2MB into the original file (6 lines, 2 partial ones).
the second one seems to be duplicated a bunch of times
recup_dir.4/f8584568.txt recup_dir.47/f80423368.txt recup_dir.5/f13045792.txt recup_dir.57/f85016144.txt recup_dir.63/f88799480.txt recup_dir.68/f89877496.txt recup_dir.71/f90986416.txt recup_dir.71/f91006272.txt recup_dir.79/f93737736.txt
So something clever with md5sums that doesnt require that I read 13mb worth of file, ugh :)
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stitch together text file recovered by photorec/testdisk?
by Corion (Patriarch) on Sep 10, 2018 at 13:27 UTC | |
by Anonymous Monk on Sep 10, 2018 at 19:44 UTC | |
by Anonymous Monk on Sep 10, 2018 at 21:30 UTC | |
by Anonymous Monk on Sep 10, 2018 at 21:45 UTC | |
by Anonymous Monk on Sep 10, 2018 at 21:50 UTC | |
by Anonymous Monk on Sep 11, 2018 at 02:53 UTC |