Tired of right-clicking (control-click or two-finger click on trackpads) on a file and seeing a ton of duplicates in the Open With… contextual menu pop up? Not only is it aesthetically annoying, it takes up valuable real estate on smaller screens, and makes you move your mouse cursor more than you should, which could lead to repetitive-stress injuries. Or, you know, a tired finger or three.
Anyway, if you want to get rid of those duplicates, try the following.
Launch Terminal app from your Utilities folder or Dock, and enter the following command:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch"OR
You want to be sure you copy and paste that whole command there, from the
/System to the
relaunch"OR to be sure you get it right. It could take a bit of time, depending on how many apps you have that you can Open With, er, with.
If successful, you’ll get the following message:
Open With has been rebuilt, Finder will relaunchOR
Now right click on a file, and it’ll be all nice and pretty, with nary a duplicate entry to be found. Pretty slick! This should work with pretty much every version of OS X, but let us know if it doesn’t in the comments below.
Via: OS X Daily