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'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 = (
    "com.apple.ibooksauthor.pkgbook",
    "com.apple.package",
    "public.directory",
    "public.item",
    "public.composite-content",
    "public.content"
)

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/Calendar.app/Contents/Info.plist:117:             <string>com.apple.ical.bookmark</string>
/Applications/iPhoto.app/Contents/NetServices/Bundles/BookService.NetService/Contents/Info.plist:18:    <string>com.apple.BookService</string>
/Applications/Reminders.app/Contents/Info.plist:55:             <string>com.apple.ical.bookmark.todo</string>
/Applications/Safari.app/Contents/Info.plist:581:           <string>com.apple.safari.bookmark</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 AAA.book dir with Terminal app! –  egor7 Jan 17 '13 at 20:32
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.