I re-encode my WMC recordings to mkv files and put them in a temp directory to sort them into their individual show folders. I wrote a .cmd script to automatically sort them. Here's an example for the show "Revolution":
for /f "delims==" %%f in ('dir /b "Q:\TV Temp\*revolution*.mkv"') do MOVE "%%f" "Q:\Revolution\%%nxf"
except I screwed up that last bit. It should be %%~nxf instead of %%nxf. So what happened was it moved the files to the folder, but it renamed each one to "%nxf", effectively deleting all but the last one to be moved. I found out what happened immediately, so I haven't overwritten anything. I had also defragged the drive before any of this happened, so most of the deleted files should
be in a single block.
I tried Recuva
, but it doesn't recognize mkv file headers, so it can't help. Is there any way to restore these files other than to go through all the empty space on the drive manually and copying blocks using a hex editor? The files themselves are important to restore, but their names also contained info on time, date and channel it was recorded, so it would be nice to have that info back too. Is there a backup of the $MFT that might still contain those names?
This was such a stupid mistake and I'm kicking myself for it, so any advice would be appreciated.