Finder: Disable ‘Go to Folder’ menu option

Disable the menu option: ‘Go ▸ Go to folder’ in the Mac OS X Finder menubar.

defaults write com.apple.finder ProhibitGoToFolder -bool true

To make the command take effect, you need to restart the Finder.

killall Finder

Revert to the default setting:

defaults write com.apple.finder ProhibitGoToFolder -bool false

Screenshot: Default option, Go to folder disabled.