Bash Script: Set Favorite Servers In “Connect To…” Menu

The Connect To… menu (Command+K) lets you quickly connect to a server using different protocols.  If you are deploying these settings to a bunch of computers, it can be done quickly using a simple bash script.  Just replace or add whatever servers you want into the servers variable (one per line in single quotes).

A logout/login is needed to apply the settings as I haven’t figured out what process to restart to get them to apply immediately.

Leave a Reply