Mac OS Sierra detect suffix on a folder

Hi Community,


Mac OS Sierra detect a suffix on a folder named for example thisfoldername.001. The problem is when a user doesn't display the suffix, what is the default in Mac OSX. He gets only the name thisfoldername. After Mac OSX Yosemite the behavior seams to be changed, before the system ignores a dot separated name suffix on a folder.


Is this by design or is this a bug and do we have a fix for it?


Thx & Bye Tom

Posted on Mar 9, 2017 4:37 AM

Reply
4 replies

Mar 10, 2017 4:48 PM in response to prontosystems

It makes no sense to treat a name addition on a directory like a file extension.


The macOS uses extensions on folders to identify bundles such as OS components, applications, rich text documents with pictures, Xcode projects, etc. I am able to set a suffix such as .001 without it being seen as an extension, but I agree it is a pain to use dot suffixes on folder names without them winding up as extensions. I think the behavior is more by design than a bug so I don't know if submitting a bug report will be of any use, but you can always send feedback to Apple.

Mar 10, 2017 10:46 AM in response to VikingOSX

Servus VikingOSX,


>Once thisfoldername.001 is created, that is the only name that the Finder will recognize.

The facts are known to us, but the question is whether we can turn it off again, so that the condition is reached, as it was up to Yosemite? The name extension .001 should be displayed in any case, no matter how the user has set his Finder.It makes no sense to treat a name addition on a directory like a file extension. Not on a UNIX based system at all.


Thx & Bye Tom

Mar 10, 2017 11:58 AM in response to prontosystems

If you want folder extensions to show all of the time, then the Finder offers its Preferences : Advanced : Show all filename extensions checkbox. This overrides already hidden extensions, and causes selection of the Finder Get Info : Hide Extension to do nothing. The side effect of this is everything that has an extension will show including .app in applications.


When the extension is deliberately hidden, it sets an extended attribute flag on the file object, that is programmatically detectable, and reversible, whether in AppleScript, or the command-line shell. If you want more detail about these capabilities, just ask.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mac OS Sierra detect suffix on a folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.