Cloning Disk Drives

Commands for cloning disk drives on macOS.

Published January 15, 2025 ET

Steps

Step 1: List disks

diskutil list

Step 2: Unmount disk drive you want copied

diskutil unmountDisk /dev/disk2

Step 3: Unmount disk drive that will be wiped and copied to

diskutil unmountDisk /dev/disk3

Step 4: Clone disk2 to disk3

time caffeinate sudo gdd if=/dev/rdisk2 of=/dev/rdisk3 bs=1M status=progress conv=noerror,sync

References

  1. https://egeek.me/2019/05/25/cloning-timemachine-backup-drive-to-another-disk/