I am trying to recover a 200 GB directory that was accidentally lost and "converted" to a 32kb file. It was on a FAT32, 500 GB external hard drive. Only this folder got corrupted, on a Windows machine, and I do not know how.
I suppose the files are still there but unlinked.
The "Folder" permissions, when listed on linux, are
-rw-r--r-- where it used to be
This "Folder" is openable as a file and seems to contain information (maybe the links to files? I don't know how this works exactly).
So my questions are:
- Is there a shell command to set that "d" flag so I can open this as a directory and see if it still contains something ? Or another way to do this?
- If not, can I recover files that are present on the disk but not accessible?