"Directories with file extensions" (bundles) are a common way on OS X to bundle stuff consisting of multiple files into a single package, such as kernel extensions, iWork files (before iWork 09), iMovie projects, applications, etc.
You usually can edit an application's Info.plist
file to remove the definition of the offending bundle it defined — e.g. .theme
for iMovie.
As .service
is defined for system Services (see e.g. /System/Library/Services
— access them from the application menu bar item, then select Services), you'd probably break stuff by removing this definition.
If you're feeling lucky:
Open /System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist
for example using Xcode (after changing the file and directory permissions using chmod
in Terminal) and remove the offending entry in the CFBundleDocumentTypes array.
![enter image description here](../../I/static/images/616bb7de1e8e96da01d771cfd931fa3b0a6181310b180e995381356142ce314c.png)
You need admin permissions to do this. I recommend having current backups. It's possible something breaks if this association isn't purely cosmetic.
1Does Right click (Ctrl-click) and "Show Package Contents" not do what you want? – Doon – 2011-10-24T19:32:22.047
@Doon, Not when we need to use it in an output path for other software. – bejumi – 2011-10-25T13:26:49.107