Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've named a folder with .suffix which already bound to one of Mac applications. And that is the problem when I'm trying to open this folder through the Finder.

I've delete the App related to .suffix.

So how do I revert the system back to the state when Finder opens my folder correctly?

(OS version 10.8.2)

mdls -name kMDItemContentTypeTree ~/045.Book/
kMDItemContentTypeTree = (

But when I open it, Terminal App started.

See the list of Info.plist with .book extension handling in it:

find /Applications -type f -name Info.plist -exec grep -i -nH -e "\.book" {} \;
/Applications/             <string></string>
/Applications/    <string></string>
/Applications/             <string></string>
/Applications/           <string></string>
share|improve this question
Empty the trash as well. You might also need to log out and back in, or restart your computer. You can always right-click the folder and select "Show Package Contents" as a workaround. – Daniel Beck Jan 17 '13 at 20:08
Another fix could be to run: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS‌​ervices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user – slhck Jan 17 '13 at 20:21
I've done all this, but now OSX want's to open dir with Terminal app! – egor7 Jan 17 '13 at 20:32

You must log in to answer this question.

Browse other questions tagged .