質問

I accidentally ejected an external drive in the finder, is there an option to hide or remove/disable eject button from finder?

役に立ちましたか?

解決

You can use the command below to edit the com.apple.finder preference.

defaults write com.apple.finder ProhibitEject true

that will set it for the current user, to set it system wide use

sudo defaults write com.apple.finder ProhibitEject true

The eject button will still show in finder but will not do anything when pressed.

他のヒント

The easiest way, and suitable for ANY drive is to right-click the drive and choose "remove from sidebar". That way you can create an alias or navigate to your files from "{username}'s Mac" without messing with any other system configuration.

ライセンス: CC-BY-SA帰属
所属していません apple.stackexchange
scroll top