Created
August 1, 2016 06:40
-
-
Save mostlyfine/5e88692a2a0ed7565985a67e9d9201e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DISK=/dev/disk2 | |
IMG=2016-05-27-raspbian-jessie.img | |
diskutil list | grep $DISK | |
diskutil eraseDisk FAT32 RPI $DISK | |
diskutil unmountDisk $DISK | |
sudo dd bs=1024m if=$IMG of=$DISK | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment