Does anyone know how to permanently fix duplicate menu items in the right-click "Open With" menu on OS X Mavericks? I have a clone backup drive that is keeping old versions of applications. These old versions show up along with the current versions of applications from my main drive when I select "Open With" on an application.
Currently, I run this command in Terminal every time I see duplicates (which is after every OS backup):
/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"
It works, but only until the next backup, then the menu shows duplicates again. I would like to find a way to permanently fix this. anyone know how to do this?