Recovering Deleted Directory Structure in Ubuntu Linux
Posted on 2014-07-20
Got an Ubuntu 12.04.3 LTS server that is acting as a file server for our network using Samba. Had a bunch of files and folders that got accidentally deleted.
I was able to use the Foremost tool to recover a bunch of the files, but it seems to recover them by file type and sort the recovered files that way (e.g. I now have one folder for all the recovered JPG files, one for all the XML files, etc.) with no indication of what directories they came from. That's a particular big deal on this machine, since there are tons of different small directories that originally housed these files.
So... do I have any hope here? Any way for me to get these files back to their original directories rather than just having a big pile of files to work from?