Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

permanently display hidden folders in finder

I want to switch my finder to permanently show hidden folders.


The key word is PERMANENTLY.

Michelles MacBook Pro 19

Posted on Jul 28, 2023 10:44 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 16, 2024 9:01 AM

I also need help with this... I don't want to unhide every single file on my OS, I want to select a few files and unhide just those files. If I use this "Command+Shift+." , every file shows up. Also, if I use the common terminal command lines in terminal, every hidden file on the OS gets unhidden. Is there a way to just select a few files and unhide them?

13 replies
Question marked as Top-ranking reply

Jul 16, 2024 9:01 AM in response to kevinish

I also need help with this... I don't want to unhide every single file on my OS, I want to select a few files and unhide just those files. If I use this "Command+Shift+." , every file shows up. Also, if I use the common terminal command lines in terminal, every hidden file on the OS gets unhidden. Is there a way to just select a few files and unhide them?

Jul 16, 2024 12:23 PM in response to Exaccord

I want to select a few files and unhide just those files.

That can be done, depending on how you actually hide the files. You can use the change flags command to add the hidden flag, and then use the same command to unhide them. However, that won’t work if the files are hidden by pretending the name with a period. You could unhide those by removing the period in the file name.

for the change, flags command,

chflags nohidden 

Leave a space after no hidden and drag the files into the terminal window. That will fill out the path to each of the files, then hit return.

If they were hidden with the hidden flag, they will no longer be hidden.

Jul 20, 2024 12:04 PM in response to Exaccord

It sounds like you just ended up with some hidden files, but if you want to hide and show files periodically, here are ways to make it a little easier.


You can wrap it into an Automator Quick Action so that you can select several files and either Hide or Show the files. To show the files, change "hidden" to "nohidden" in the shell script. However, you have to show hidden files in the Finder in order to select them and run the Quick Action.

Note that the Input is set to Files or Folders and "pass input:" in the Shell Script action is set to "as arguments."

Save each separately with different names such as, "Show Files," and "Hide Files."


If you have files you periodically want to hide and show, you could make an App instead and have it Get Specified Finder items instead of using the input of a Quick Action.

Jul 16, 2024 12:23 PM in response to Exaccord

Exaccord wrote:

I also need help with this... I don't want to unhide every single file on my OS, I want to select a few files and unhide just those files. If I use this "Command+Shift+." , every file shows up. Also, if I use the common terminal command lines in terminal, every hidden file on the OS gets unhidden. Is there a way to just select a few files and unhide them?



You seem to be asking for a very different thing. The OP asked about showing hidden files in Finder.

This does NOT change the fact that the files are hidden - they still have the metadata saying they are hidden, the change is only on Finder settings - it makes Finder show hidden files (they appear greyed out, instead of not appearing at all).


You apparently are asking for ACTUALLY unhiding files - if not, please clarify.

You change the hidden status of files with the chflags command in Finder.

This is not something you should do unless you really understand what is happening, so please explain what are trying to achieve.



Jul 19, 2024 5:53 AM in response to Luis Sequeira1

I have a handful of files (in this instance, JPEGs) that I want to unhide. In other words, when I go into the folder, I want them to appear there, instead of having to use the "Shift"+"Command"+"." command to unhide them. When I use that command, every single hidden file on the OS shows up, which I don't want to see all the time (which forces me to use that command again to hide every single file, after Im done with those JPEGs.) I would like to, however, like to see these specific files all the time, and for them to not be hidden. Hope that makes sense.

Jul 19, 2024 6:09 AM in response to Exaccord

Exaccord wrote:

The chflags nohidden command works, thank you! I assume this is the best/only way to do this?

There are a few ways to hide files in Unix and Finder will hide certain things.

How they were hidden dictates how they can be unhidden. Since the chflags command worked, that’s how they were hidden.


There isn’t any GUI method built into the OS.


I’ve never heard of any image files being hidden by the OS. How did they come to be hidden?

Jul 19, 2024 9:40 AM in response to Exaccord

Exaccord wrote:

Im not sure to be honest. When I unhide everything, I have a ton of files that come up as hidden. Word docs, excel files, etc, etc.

Conversely, what is the best way to hide a file, use "chflag hidden " command in terminal?

The easiest way is to just add a period in front of the name in Finder.


If you do t want to rename, chflags hidden is the way.


Jul 19, 2024 12:16 PM in response to Barney-15E

Barney-15E wrote:


Exaccord wrote:

Im not sure to be honest. When I unhide everything, I have a ton of files that come up as hidden. Word docs, excel files, etc, etc.

Conversely, what is the best way to hide a file, use "chflag hidden " command in terminal?
The easiest way is to just add a period in front of the name in Finder.

If you do t want to rename, chflags hidden is the way.

Got it, thank you for all the help!

permanently display hidden folders in finder

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