I am having some issues with the built in HDD of my iMac so I started to copy files from the HDD to an external drive in terminal in Recovery mode.

I am using

ditto -V --norsrc "/Volumes/Macintosh HD/Users/USERNAME/Pictures/iPhoto-Mediathek.photolibrary/Masters/YEAR" /Volumes/NewHDD/iphoto/2014

It is working for some files yet it stops at a 200mb .MOV file after some succesful operations. I thought it would skip broken files and move on with other ones. Is there a way to "rescue", or parts of my 30GB of data in an semi-automatic way?

  • In general if your disk is broken data is lost. The normal recovery is restore from backup. If you are lucky some apps like diskwarrior might be able to recover data or a professional data recovery service. – Mark Jan 12 at 15:04
  • Let's assume there is no backup of this folder. I thought, ditto will skip corrupted files and go on with the intact one. I also see that it sometimes takes a lot of time for a file to copy without any error. Might it be, that the volume is very defragmented? – Riccardo Jan 12 at 16:06
  • 1
    The time is likely to be a bad sector that after several tries can be read. – Mark Jan 12 at 16:15
  • any option to skip bad sectors within terminal/bash in recovery mode? OS becomes unstable after some minutes. running in recovery mode seems fine. – Riccardo Jan 12 at 16:19

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.