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

How do I re-hide folders?

I've been using my macbook for about 2 years, and have gone through both the mavericks & yosemite updates. Before I did this, however, I decided it was a good idea to permanently unhide all folders everywhere, and now I can't get them hidden again (I can see .ds_store and .TRASHES most of the time, it depends on what folder I'm in). I do not know how I did it, but i remember pasting something into terminal about a week after I got the computer. Any help on re-hiding these folders that are hidden by default would be spectacular.

MacBook, OS X Yosemite (10.10.1)

Posted on Dec 1, 2014 10:29 AM

Reply
Question marked as Best reply

Posted on Dec 14, 2017 12:21 AM

Hi Teke0884,


This should help you with the hidden files on finder.


Paste this on Terminal and hit "Return"


Hide: defaults write com.apple.finder AppleShowAllFiles NO

Unhide: defaults write com.apple.Finder AppleShowAllFiles YES


Relaunch the Finder by Holding "Alt or Option" and click Relaunch.


Cheers

Greig Quinn

19 replies

Oct 14, 2016 6:31 AM in response to jaa228

I tried all the different commands in Terminal from this and other forums, but just comes up with "command not found"

so I tried this - and found: for some weird reason the com.apple.finder plist file is not in my library.. I have not deleted it myself though. how could this have occured? all hidden files are shown in my finder windows to my frustration.

any help with this would be much appreciated.

Oct 14, 2016 3:53 PM in response to Idea82

Idea82 wrote:


I tried all the different commands in Terminal from this and other forums, but just comes up with "command not found"

so I tried this - and found: for some weird reason the com.apple.finder plist file is not in my library.. I have not deleted it myself though. how could this have occured? all hidden files are shown in my finder windows to my frustration.

any help with this would be much appreciated.

That sounds like you have messed up your PATH environment variable via your shell initialization file. This very commonly happens when following some web instructions on modifying your .profile, or .bash_profile, or .bash_login, or .bashrc, or .cshrc, or login, or .tcshrc (All depending on which shell you are using and what the web instructions said).


Anyway, you could try the following

/usr/bin/defaults write com.apple.finder AppleShowAllFiles -boolean false ; /usr/bin/killall Finder

If that works, then you can search for "fixing PATH" and you are bound to find a few postings about broken PATH environment variables.

How do I re-hide folders?

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