Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
You can add a folder to the Privacy tab in Spotlight preferences to prevent Spotlight from searching that folder, but you can't make it unsearchable in Finder.
 
put it in Macintosh HD/Library it will not show up when searched in finder or spotlight. i do it for certain materials i do not want people to see:D i actually put a encrypted Hd partition in there and apple could not find it.
 
Nah, sure any of these properties wouldn't fix it?

Alias File No
App is Scriptable No
App Prefers Classic No
App Prefers Native No
Application No
Classic App No
Container Yes
Darwin BSD Major 14
Darwin BSD Minor 0
Darwin BSD Name disk0
Darwin BSD Unit 0
Darwin Content GUID_partition_scheme
Darwin Content Hint
Darwin Ejectable No
Darwin IOBusyInterest IOCommand is not serializable
Darwin IOGeneralInterest IOCommand is not serializable
Darwin IOMediaIcon {CFDictionary}
Darwin Leaf No
Darwin Media Class IOMedia
Darwin Open Yes
Darwin Preferred Block Size 512
Darwin Removable No
Darwin Size 320,072,933,376
Darwin Volume Name disk0s2
Darwin Whole Yes
Darwin Writable Yes
Ejectable No
Extension
Icon Filename
Invisible No
Native App No
On Remote Volume No
Package No
Path: Absolute Macintosh HD:Library:untitled folder:
Path: Shell /Library/untitled\ folder
Path: UNIX /Library/untitled folder
Plain File No
Readable Yes
Symbolic Link No
Volume No
Writable Yes
 
Nah, sure any of these properties wouldn't fix it?
No, they won't. Remember, you can add this criteria to any Finder search:
ScreenCap 11.png
 
no it wont i do it and it is not searchable in finder
Yes, it is. Read my last post. Searching System Files will search the Library folder.

Edit: Since you edited your post, I'm not saying the .dmg is searchable. I'm saying the Macintosh HD/Library folder is searchable. Your .dmg could be found by a search if it's in the Macintosh HD/Library folder, but the contents of that .dmg may not be searchable.
 
Last edited:
Yes, it is. Read my last post. Searching System Files will search the Library folder.

ur thinking of the wrong library folder NOT the one in the systems folder the Library folder with the pic of the greek acropolis on it:

also reading your next post i have tried that on mine and it wont show up the file itself or its contents

edit you are right about that but who searches specifically in the folder anyway lol
 

Attachments

  • Screen shot 2011-06-22 at 5.14.19 PM.png
    Screen shot 2011-06-22 at 5.14.19 PM.png
    11.1 KB · Views: 3,669
ur thinking of the wrong library folder NOT the one in the systems folder the Library folder with the pic of the greek acropolis on it:
No, I'm referring to the Macintosh HD/Library folder. Test it yourself:
ScreenCap 14.png
edit you are right about that but who searches specifically in the folder anyway lol
No one said anything about specifically searching that folder, but there are occasions to search system files, which would include that folder:
 
Really old but good

So I know this thread is really old, but being that no one here clearly knows how to achieve what this gentleman's goal is, I figured I would sign up and leave it for anyone in the future (don't expect a response, it works).

This method is to create a hidden folder. This will remain open until you close your finder window, and then it is hidden again. The content within said hidden window is hidden from Finder searches or Spotlight searches.

Open Terminal.
Type: mkdir .hiddenfolder
Open Finder.
Press the following key command: command+shift+g
Type in the folder you just created w/: /users/username/.hiddenfolder/

Name your folder whatever, doesn't have to be 'hiddenfolder', but it does need the period before it. No special characters (remember it as well).

As well, the username is the username of your home folder (not your ACTUAL user name).

Good luck.
 
This method is to create a hidden folder. This will remain open until you close your finder window, and then it is hidden again. The content within said hidden window is hidden from Finder searches or Spotlight searches..
That won't work, since hidden files and folders are still searchable in Finder, as described in post #9.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.