I had a problem with my disk and fortunately I was able to recover it, but the problem is that all my files rename it to FILE0001.CHK, FILE0002.CHK, … etc. All my files have the .CHK extension (5k files)
.CHK could work such as the file has no extension
Most of my files are (.3dm .gh .ghx, gha, .dll) and the minority have other formats
Is there any quick way to identify which files was from rhino and grasshopper?
I tried ony by one with Read File per line, if there are some strange characters I replace the extension with System.IO.File.Move method, most of the time works but sometimes I add .gh a non grasshopper file
I was looking for a more efficient and quick way to indentify it and replace the correct extension?
Is there any way to recover the filename since all the files was renamed to FILE0000… I wonder if the file name is embedded somewhere?
CHK files are fragments of corrupted files found on your hard drive. As far as I know, those file fragments cannot be re-constituted into actual files.
You might spend some time on Google to confirm my suspicion.
Thank you for the response Dale, This could be done manually I just change the extension manually from .CHK to .gh or .3dm and it works without problems. of course the only visual data that I know is the file weight that’s why I decide do it inside grasshopper and evalute file per file.
.CHK is as if the file had no extension. please you could try by deleting the extension of a Rhino and Grasshopper file and try to add the correct extension. I try to search online but I only found for known extensions such us jpg. png. pdf etc
These are files Rhino and GH files that I delete the extension in purpose and this is the strange characters pattern from a GH file. I found that way to identify but this is a visual recognition method…
I was looking for a more efficent method maybe read bytes or something similar