createinstallmedia Terminal command question

Discussion in 'macOS Sierra (10.12)' started by madhatmac, Oct 14, 2016.

  1. madhatmac macrumors newbie

    Joined:
    Jun 25, 2013
    #1
    Hi folks,

    I just had a question more out of curiosity than anything else...

    For the Terminal command to create a bootable installer, what does "--nointeration" mean at the end:

    sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction

    Also, I've seen another site add an extra bit. They have the same as above except at the end it is "--nointeraction &&say Done". What does "&&say Done" mean?

    I don't use Terminal much and was just curious :)

    Thank you
     
  2. MC6800 macrumors 6502

    Joined:
    Jun 29, 2016
    #2
    The "--nointeraction" keeps createinstallmedia from asking you if you're sure.

    The "&& say Done" is a conditional second command that will speak the word "Done" if-and-when the first completes successfully. You can try just the "say Done" to check it out (or have it say whatever you want).
     
  3. madhatmac thread starter macrumors newbie

    Joined:
    Jun 25, 2013
    #3
    Thanks, MC6800 :)
     

Share This Page