5.9 C
New York
Thursday, March 20, 2025

macos – File extension can’t be hidden when the file title 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; once I navigate to that folder once more, the extension is there.

Oddly sufficient, if I rename the file so its title does 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 particular 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 initially of the file title, once more with the identical consequence. The issue appears to be having a file whose title ends in . Bear. Additionally, it does not appear to be case-sensitive; . bear has the identical downside.

I do have an app referred to as Bear which makes use of recordsdata with extension .bear. Possibly that has one thing to do with the difficulty. 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 difficulty:

enter image description here

Ending the file title in . App additionally has that downside, 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 solution 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