MacOS – Remove duplicates from contextual menus

macos

In addition to Time Machine I do a weekly clone of my system drive to a volume on a second hard drive in my 2011 MacBook Pro. I also made a clone in another volume before I upgraded to Lion.

Now some of the apps from the Snow Leopard drive clone are starting to show up as duplicates in "open with" contextual menus. If I choose one of the duplicates it will open the app from the cloned volume.

How can I remove these items from the menu and make sure OS X doesn't think these are installed apps?

Screenshot:

enter image description here

Best Answer

Rebuilding your LaunchServices database won't do you any good because your computer is seeing the version of the apps on your cloned hard drive (hence the different version numbers). If they were the same number rebuilding the LaunchServices database like answered by others would work.

Your easiest method is to eject your cloned hard drive - this way they won't appear. Telling Spotlight to ignore the drive should tell it from now on to not add the applications to it's list of apps that can open that type of file.