My first micro (16gb) sd card died after years of work in a spare phone. Windows couldnt read it anymore and I had no device with a *real* os near but, at https://www.cgsecurity.org/wiki/PhotoRec I found everthing I needed. Worked flawless.
You will not recover your direcotry hirachy and some files get duplicated. So next step is to get rid of tem:
With the powershell one liner:
ls *.txt -recurse | get-filehash | group -property hash | where { $_.count -gt 1 } | % { $_.group | select -skip 1 } | del
you can drop every file got duplicated.
https://www.cgsecurity.org/wiki/PhotoRec
https://n3wjack.net/2015/04/06/find-and-delete-duplicate-files-with-just-powershell/
https://stackoverflow.com/questions/16845674/removing-duplicate-files-with-powershell
Kommentare