Remove duplicate open with entries in OS X with terminal alias

Doppelte öffnen mit Einträge in OS X per Terminal Alias bereinigen

Apple has still the problem with the duplicated „open with“ context entries. It seems that when you often install an update for an application, the “open with” entries will duplicate.

The issue is not a show stopper but it looks ugly.

You can use a Terminal Command or various kind of Apps to solve this issue.

For the Terminal Geeks of you, you can use an alias in the .bash_profile. Here you can find how to create an alias and the .bash_profile.

  • Open the .bash_profile in the Terminal with the vi tool.

vi .bash_profile

  • Insert the following alias: (If you have trouble to copy and paste these lines, it is better to write off)
Alias fixow='/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 rebulit, Finder will relaunch"'
  • Save and exit vi with shift + : + wq

Doppelte öffnen mit Einträge in OS X per Terminal Alias bereinigen

You have to restart the Terminal to reload the .bash_profile. Now you can test it with typing fixow in the Terminal.

0 Antworten

Hinterlassen Sie einen Kommentar

Wollen Sie an der Diskussion teilnehmen?
Feel free to contribute!

Kommentar verfassen