A non-recursive approach to using ddrescue
on a directory.
Chances are, if you have a currupted set of memory, it's not just a few files. It's probably a whole disk.
Wanna save it? You can use ddrescue
, but that doesn't work on directories, only files. If you want to use
it on a whole big directory, you'll need to do each file one by one. That's exactly what this script does.
$ fish ddrfind.fish
I am currently attempting to fix a dying drive and this is very helpful. I found it thanks to Google. Thank you!!!
Is it using relative or absolute paths? I noticed some strange behavior with the paths.