createinstallmedia: command not found I am trying to create a bootable flash drive that is named Untitled from my MacBook Pro Retina with Yosemite 10.10.  

This is what I am getting in Terminal:

mbp2013retina:~ chris$ sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
sudo: /Applications/Install OS X Mavericks.app/Contents/Resources/createinstallmedia: command not found


Can someone help?
I use following method.


Format the USB:


Format it, using Disk Utility, as a Mac OS Extended (Journaled) drive, named Yosemite. 

Next run this in Terminal where you can remove the option —nointeraction if you want to get notifications and make decisions yourself about the disk and making the USB installer:

sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app —nointeraction



Replace Untitled with name of the USB drive (Yosemite)





For additional information, see: Create a bootable installer for OS X