I used PhotoRec 7.1 to restore lost files.
To be able to track down files I wrote scripts that indexes all internal and external partitions by using find and ls.
The find gives the full path with all sub-folders and can help restoring lost folders hierarchies.
The ls does a ls -loaR --time-style="+%Y-%m-%d %H:%M" to include only owner (omitting group), file size and using a unified date+time format.
By having these lostpartition.ls.gz and lostpartition.find.gz I tried tracking down individual files in the numerous recup_dir directories by also first creating recup.ls.gz and recup.find.gz.
Looking for a specific file by searching for its exact size like so
Code: Select all
zgrep " 1234 " recup.ls.gz
But all larger mp3, aac or mp4 / mpeg4 fail. Are none of these larger files restored by PhotoRec 7.1, or are all restored as several files to be concatenated e.g like so
Code: Select all
cat part1.mp4 part2.mp4 >complete.mp4