Last active
July 2, 2018 15:43
-
-
Save zackn9ne/ad2cb0edd9d52b1bccdc558e5cc5984c to your computer and use it in GitHub Desktop.
unetbootin for High Sierra
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 | |
diskutil list | |
echo "Hello what disk to erase? eg disk2" | |
read killthisdisk | |
sudo diskutil eraseDisk FAT32 EXTERNAL MBRFormat /dev/$killthisdisk | |
read -n 1 -s -r -p "When you are in UNetBootin, select the disk you choose, but the s1 prefix or it wont do anything when you press OK. Press any key to continue" | |
sudo /Applications/unetbootin.app/Contents/MacOS/unetbootin targetdrive=/dev/$killthisdisk | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment