Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just installed Sublime Text 3 beta and would like to re-associate all the filetypes I have linked to ST 2 with ST 3.

Is there any way to perform this as a batch operation?

For example:

$ open_all_with_st3 py txt tsv css scss js ...

Or better yet, get a list of all types associated with ST 2 and then assign them to ST 3.

I really don't fancy doing the Get Info->Open With->Change All … dance with dozens of filetypes.

share|improve this question

1 Answer 1

I figured it out. I opened ~/Library/Preferences/com.apple.LaunchServices.plist and replaced all occurrences of com.sublimetext.2 with com.sublimetext.3.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.