dd Command For SD Cards

List all the disks to get the SD Card path

diskutil list

Unmount the disk

diskutil unmountDisk /dev/disk

Duplicate image file to SD Card

sudo dd bs=1m of=/dev/rdiskX if=

Options

Get block size of disk

lsblk -o NAME,PHY-SeC

Skip errors and sync drives

conv=noerror, sync