
Once this is finished, you must then quit and relaunch the Finder for the change to take effect, that is easiest to do from the command line as well: This may take a while as the entire Launch Services database has to be rebuilt, and in that rebuilding process is where the duplicate app entries will be removed from the right-click menu.

( Note: the backslashes within the second command are used to extend long commands to multiple lines while still making them executable when copy & pasted, they are not necessary to include if you are manually typing the command string into the terminal) Lsregister -kill -r -domain local -domain user System/Library/Frameworks/amework/Versions/A/Frameworks/\ Same command string broken into multiple lines:

Remove Repeat App Entries in “Open With” Menu of OS X
