macOS: How to remove stale/redundant entries from the “open with” context menu

To regenerate the “open with” context menu in macOS (and reopen Finder windows), execute the following two commands in Terminal:

$ /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
$ killall Finder

Leave a Reply

Your email address will not be published. Required fields are marked *

× 3 = 9

This site uses Akismet to reduce spam. Learn how your comment data is processed.