macOS can't repair the disk BLA
You can still open or copy files on the disk, but you can’t save changes to files on the disk. Back up the disk and reformat it as soon as you can.Basically, you copy everything to somewhere safe but the corrupted files.
You can skip step 1 and 2 to copy files directly from the corrupted hard drive to another drive. But it is a best practice to get an image of that drive first. This will help you to recover files from the corrupted drive in case of any further failure.
brew install ddrescueGet the Identifier of the corrupted drive using the following command: I.e. disk2s1
diskutil listReplace disk2s2 with the identifier of your corrupted drive.
sudo /usr/local/bin/ddrescue -v -n -c 4096 /dev/disk2s2 Rescue.dmg Rescue.logOpen Disk Utility App and select the disk image file Rescue.dmg. Click on Mount button.
ls /Volumes/ to get the name of the mounted disk. I.e. Rescue
Replace DISKNAME with the name of the mounted disk.
cp -Rfp "/Volumes/DISKNAME" ~/Desktop/RecoveredVerify the files and unmount the disk image.
Delete the disk image file Rescue.dmg and Rescue.log file.