Created
October 26, 2015 17:29
-
-
Save tian-im/cc2cb0488216eb9ef71a to your computer and use it in GitHub Desktop.
Create USB installer for El Capitan
This file contains 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
usb_installer () { | |
if [[ -z $1 ]]; then | |
echo 'usage: usb_install PATH_TO_VOLUME' | |
return | |
fi | |
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume $1 --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app/ --nointeraction | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment