Thursday, March 20, 2025

macos – File extension can’t be hidden when the file identify ends with a string which exists as an extension

I’ve one particular file whose extension can’t be hidden:

enter image description here

(the bottom-right file on this screenshot).

If I press ⌘I, the cover extension possibility is ticked and greyed out:

enter image description here

I can press RETURN, which removes .pdf from the tip of the filename by itself (i.e. I needn’t delete these 4 characters myself). The file then ceases to show an extension in Finder till I shut the Finder window or navigate to a different folder; after I navigate to that folder once more, the extension is there.

Oddly sufficient, if I rename the file so its identify would not finish in . Bear, the extension disappears and the cover extension possibility turns into obtainable once more:

enter image description hereenter image description here

(For instance, I can add a number of characters after Bear (as within the screenshot), add a personality between the final interval and Bear, or change Bear to one thing else like Boar.

It is not the precise file. I attempted deleting that file and renaming one other file to the identical factor, and the consequence was the identical. I additionally tried altering the quantity originally of the file identify, once more with the identical consequence. The issue appears to be having a file whose identify ends in . Bear. Additionally, it would not appear to be case-sensitive; . bear has the identical drawback.

I do have an app referred to as Bear which makes use of recordsdata with extension .bear. Perhaps that has one thing to do with the problem. Keynote, for instance, makes use of recordsdata with extension .key, and if I rename the aforementioned file so it ends in . key the identical factor occurs, in order that should be the problem:

enter image description here

Ending the file identify in . App additionally has that drawback, presumably .app is the extension for macOS apps.

For what it is value, I haven’t got “present all filename extensions” chosen in Finder preferences (in any other case it would not simply be recordsdata with the names in query).

Is there any technique to change this behaviour, which appears to be an issue with how macOS handles file names and extensions?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles