51

I've been searching for a lot of hidden/system files through the Finder recently and it's really annoying to activate the display of those system files manually each time (Tutorial for this here). So my question is: How can I permanently enable to see those files when searching through MacOS' Finder? (Using MacOS High Sierra)

2
  • Welcome to Ask Different! :) Just to clarify, are you wanting hidden files to always be visible in the Finder, or only to always be visible in search results?
    – Monomeeth
    Oct 21, 2017 at 10:54
  • @Monomeeth Thanks :) I have them visible in the Finder (withcmd + shift + .) but when I search for files I have to enable to see them manually. Hope that clears it up a bit.
    – hlzl
    Oct 21, 2017 at 11:06

3 Answers 3

8

Per the tutorial,

  • CMD-F to bring up the Finder search window.
  • Make sure "This Mac" is selected.
  • Click "Kind", choose "Other...", and double-click the "System Files" entry.
    Update: if you click the "In Menu" checkbox to the right of the "System Files" entry, "System Files" will also be added as an option in the "Kind" dropdown list.
  • Click the "aren't included" dropdown, and select "are included".

This time, though,

  • click the "Save" button at the right, just under the "Search" box.
  • Change the default name to something descriptive, but short, like SearchAll.savedSearch.
  • Make sure "Add to Sidebar" is checked.
  • Click "Save".

Now, when you want to search all the files:

  • Click on the "SearchAll" sidebar item.
  • Enter your desired search term (such as Helvetica, as in the tutorial).
  • Click "Name matches", if that's what you want, or press Enter.

Voilà! Now you can easily search even those hidden/system files!

2
  • It's still a work around, but better than enabling it manually each time. Thanks
    – hlzl
    Oct 22, 2017 at 7:46
  • 1
    I like this answer, but the problem is that I still don't see system files when I hit command-space. If I know exactly what file I want (but don't want to need to drill down), it would be good to be able to just launch from there. Also, since there's no way to jump immediately to the "Searching this Mac" window, I need to search for something less restrictive, and then choose "Show all in Finder". So annoying!
    – tobylaroni
    Oct 12, 2018 at 15:51
93

To see hidden files

defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder;
2
  • This doesn't change what the Finder shows me when I search. To see system files in general in the Finder is not the problem.
    – hlzl
    Oct 21, 2017 at 16:25
  • It changed it for me. I see hidden files by default in Finder now. Nov 13 at 14:02
7

After the above command, relaunching "Finder" is easiest with the KillAll command. So:

defaults write com.apple.finder AppleShowAllFiles YES; killall Finder;

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .