Question

Is there an easy way to find all the extensions that are opened with a given application?
I'm asking because I have two versions of a software installed (Sublime 2 and 3), and some extensions still open with Sublime 2 because by the time I specified that Sublime 3 was not available. I then have to quit Sublime, change the program that shall be opened by default for this extension and relaunch.

I would like to end this once and for all and change it for every remaining extension. Does anyone know of an easy way to do this? Thank you!

Was it helpful?

Solution 2

Open the file ~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.‌​plist in Xcode. The file contains all the bindings for extensions to applications.

Find/replacing the values did not work for me, since the file was overwritten every time. But you can use Find to get a list of all the extensions that are opened with a particular application and then change it by hand.

OTHER TIPS

If you want all files with a certain extension (not the 1 specific file) to be opened by a certain app, do the following:

  1. Right click the file and click Get Info (or highlight file and hit cmd ⌘ + i )
  2. Change Open with: to preferred app
  3. Click Change All...
  4. Click Continue in the confirmation box

Is this what you meant to do? This is different from right clicking a file and choosing the 'Always open with' option. That seems to only apply to the specific file, not all files globally.

You will have to repeat this for each extension.

Get info screen Confirmation box

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top