@mcc Image the whole SD to a file, then take a copy of the file and work solely with the copy.
ddrescue may be a good way to make that image, depending on how the SD card has failed.
Then something like TestDisk might help recover files.
@mcc Image the whole SD to a file, then take a copy of the file and work solely with the copy.
ddrescue may be a good way to make that image, depending on how the SD card has failed.
Then something like TestDisk might help recover files.