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 also had these issues. There is something wrong with the paths of this script. I think you had to use the target path relative to the source directory. Like
ddrfind /media/failingdrive/important ../../gooddrive/rescued
.