Wednesday, December 25, 2013

How to copy SD card image for backup / sizeup

Just need to do as such,

sudo dd if=/dev/disk1 of=/destination.img bs=1m

change the card and then,

diskutil unmountDisk /dev/disk1
sudo dd of=/dev/disk1 if=/destination.img bs=1m