Skip to content

Instantly share code, notes, and snippets.

@jellybeansoup
Created May 28, 2013 06:16
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jellybeansoup/5660788 to your computer and use it in GitHub Desktop.
Save jellybeansoup/5660788 to your computer and use it in GitHub Desktop.
A shell script to remove duplicates in the "Open With" menu in OS X 10.5 and later.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment