Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kirkbross

macrumors 6502a
Original poster
Mar 6, 2007
666
22
Los Angeles
Namely: Library and its contents.

If Windows can do it, I'm confident Leopard 10.5.6 can too. None of the myriad permutations of the below Terminal command work.

Code:
# defaults write com.apple.finder AppleShowAllFiles -bool TRUE
# KillAll Finder

When I "search this Mac" in the Finder or querry Spotlight, I want nothing but nothing excluded from results. I am an adult. I am not a computer retard in danger of ruining my OS through hasty file relocation or deletion. I want my search returns to include even the most sensitive system files which, if accidentally deleted, would cause my Mac Pro to reach out through my monitor and stab me in the face.

Folder example: there are several folders called "Mozilla" on my system, and yours if you use Firefox. Good luck finding a folder called "Mozilla" using the Finder or Spotlight. You'll have to know where it is and manually navigate there.

File example: I have a file called userChrome.css buried in users/me/Library/AS/Mozilla/ext/yadaYoda, But when I search for "userChrome.css" -- Mac OS peers out at me through it's glowing red eye and says, very calmly, "What are you doing Dave? I can't let you do that Dave."

Can anyone tell me how to really & truly include ALL files and folders in searches? I'll reiterate that I've tried a dozen terminal commands I found online.
 
Namely: Library and its contents.

If Windows can do it, I'm confident Leopard 10.5.6 can too. None of the myriad permutations of the below Terminal command work.

Code:
# defaults write com.apple.finder AppleShowAllFiles -bool TRUE
# KillAll Finder

Are you saying that you can't get the hidden folders/files to display at all? If that is the case, you have a simple problem: Capitalize the "f" in Finder. The code needs to look like this:

Code:
defaults write com.apple.Finder AppleShowAllFiles YES
killall Finder

Again, punctuated and capitalized EXACTLY like that.

I am attaching a little AppleScript that I wrote to make this a little easier (so you don't have to manually go into Terminal every time)

If that is not your problem, than sorry for telling you something you already know :p

As for having the Files come up in searches... well, that is not as easy. Apparantly Spotlight is hard-coded to exclude hidden/system files for "simplicity for the average user". It appears that you have to modify its rules .plist file, certainly not ideal. This LINK has instructions, though they do not seem ideal or at all simple...
 

Attachments

  • Show hidden files.zip
    21.4 KB · Views: 59
File example: I have a file called userChrome.css buried in users/me/Library/AS/Mozilla/ext/yadaYoda, But when I search for "userChrome.css" -- Mac OS peers out at me through it's glowing red eye and says, very calmly, "What are you doing Dave? I can't let you do that Dave."

Type in the name of the file, choose "Show All" and press return to bring up the actual spotlight search results window. From there you click the little + button and in the left hand menu select "System Files" and in the right hand menu select "Include".
 
To get Finder to search entire Mac:

  1. Open a Finder window
  2. Do a cmd+f (or File > Find ...)
  3. Under 'Kind' choose 'other'
  4. Select the check box next to 'System Files'
  5. Click OK
You'll now be able to choose System Files from that menu and it will search more than the regular setup. Also, be sure when using it to set the drop menu next to it to 'include.'
 
To get Finder to search entire Mac:

  1. Open a Finder window
  2. Do a cmd+f (or File > Find ...)
  3. Under 'Kind' choose 'other'
  4. Select the check box next to 'System Files'
  5. Click OK
You'll now be able to choose System Files from that menu and it will search more than the regular setup. Also, be sure when using it to set the drop menu next to it to 'include.'
This worked! THANK YOU.

I should have been able to figure that out had I used the CMD+F to search. I was simply double-clicking my HD and using the search field, so there was't an 'options drop down menu' on the left side for Kind. Der. Spotlight is still a different issue, due to its design, but I'm all good now that I know how to include system files.



Thank you.
 
Also you can try "EasyFind" which will find all files and Forklift or Pathfinder "finder type explorers will also show all hidden files.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.