Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Web Site. V 2.1.tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Copy Drives with Errors

You can copy drives with errors using the Unix dd command from the Terminal

The Unix dd command can copy one volume (disk) onto another and continue even after encountering errors. Use the df command to list all volumes connected and make a note of the unix drive name (like /dev/disk3s6) and use these in the dd command to do the copy.

Note: be very careful here because it is easy to overwrite good disks if you get this command wrong!

dd if=/dev/FROM of=/dev/TO bs=1024k conv=noerror,sync

Where FROM is the disk name to copy from and TO is the disk to copy to.

The bs option sets the block size to use, and conv=noerror,sync causes bad data to be replaced with zeros. In that case, some files might be damaged, but they might still be partially recoverable.



My latest blog post: Avoid Microsoft: If you don't really like computers much you could make things a bit better for yourself. (posted 2024-12-04). My latest podcast: OJB's Podcast 2024-11-18 Unity Through Division.
 ©2024 by OJBRSS FeedMacs are BestMac Made
T: 11. H: 193,779,756
Features: RSS Feeds Feedback LogMod: 07 Jun 2024