Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I can see hidden files in Finder but when I search it doesn't find hidden files.

I have tried everything.

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

I also change "File visibility" to "Invisible Items" when searching.

Please help somebody as it drives me mad how Apple makes it difficult to change.

share|improve this question

3 Answers 3

There is a way to search also within hidden files:

  1. Open Finder
  2. Fill search box with searched text
  3. Click "+" button.
  4. Choose "File visibility" and your option.

enter image description here

share|improve this answer
    
Unfortunately it does not work. I have tried that before. –  PJ_ Feb 18 '13 at 15:09

Do as maseth says, but instead of "File visibility" you want "System files". Or rather, do both to be able to search everything.

share|improve this answer
    
This does not work either in my tests –  markhunte Mar 22 at 17:18

Hope this will work for you

To enable hidden files/folders in finder windows:

Open the Utilities folder
Open a terminal window
Copy and paste the following line in:

defaults write com.apple.finder AppleShowAllFiles 1 && killall Finder
Press return

Otherwise you can buy show hidden files mac.

share|improve this answer
2  
This isn't what the OP is asking. Your answer is contained in the original question. PJ has already tried that did not solve his problem. –  Mark Mar 28 at 12:04
    
The product listed might show hidden files correctly, but it won't change search which is what is being asked here. –  bmike Mar 28 at 12:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.