Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mrjayviper

macrumors regular
Original poster
Jul 17, 2012
245
27
So I found a command that lets me create dock entries via terminal. This was working fine on El Capitan. But not with Sierra.

Any ideas how this can be done with Sierra? Thank you.

This is sample command that works with El Capitan:

Code:
defaults write com.apple.dock persistent-apps -array-add "<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>/Applications/VLC.app</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.