Writing a dmg-file to a SD-card

Another set of commands that I cannot remind me of when I need it.

$ hdiutil convert backup.dmg -format UDTO -o raw-image.img
$ mv raw-image.img.cdr raw-image.img
$ sudo dd if=raw-image.img bs=1m of=/dev/rdisk3

Comments won't work at the moment

I'm sorry but the comments are offline. I'm not sure when I have fixed this issue, but I'll let you know when comments are back online.

Explore more:

macosterminal

↑ back to top