It should probably come as no surprise that their are certain files I don't want to appear in "All My Files" EVER. How do I get Mac OS X v10.7 (Lion) to ignore specific folders for its "All My Files" feature?

  • 2
    Put them somewhere else. runs – Ignacio Vazquez-Abrams Aug 12 '11 at 1:49
  • 2
    What part of "all my files" don't you understand? :) – Spiff Mar 19 '12 at 16:21

I figured it out. Go the System Preferences -> Spotlight -> Privacy.

Drag in the folders you don't want indexed. They get removed from the "All My Files" feature.

  • Awesome reply buddy...Thanks...This was exactly i was looking for – Sumit Kumar Saha Aug 20 '16 at 9:34
  • Hi @gman! Could you accept an answer? I assume this one worked for you. Thanks. – jpaugh Oct 10 '17 at 19:06

EDIT: This does not appear to work in Yosemite (10.10) or Mavericks (10.9). At the time the question was asked, Mountain Lion (10.8) was the current operating system at the time.

This would work, but is a little bit of overkill.

If you Ctrl-Click on "All My Files" in the Finder window, you can edit the search >that "All My Files" does without changing your Spotlight preferences.

  • It doesn't include all of the criteria though. You could also edit /System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch/search.savedSearch. – Lri Sep 3 '12 at 7:17
  • This does not work. When I Ctrl-Click I don't get an option to edit. I am running Yosemite. – Siraj Apr 22 '15 at 3:19

If you put your files in a folder called .noindex, they won't be indexed.


The easiest way that I have found in Yosemite is:

  1. Go to System Preferences->Spotlight.
  2. Click on the Privacy Tab.
  3. Under "Prevent Spotlight from searching these locations", Drag your iCloud Drive Folder into the list.

    • Your iCloud Drive is located at Users~{username}~Library~Mobile Documents

    • Any other folders that you do not want to be visible in "All My Files" can also be added to this list.


If iCloud drive disappears from the finder sidebar, you can re-enable it if desired by:

  1. Open a Finder Window.
  2. Click Finder->Preferences.
  3. Check "iCloud Drive" under Favorites

Now you should still have a link to the iCloud drive in the Finder sidebar and the contents of your iCloud drive will NOT show up under "All My Files"

  • How is this any different than gman's answer four years earlier? – ToolmakerSteve Jun 10 '17 at 18:53
  • Who mentioned iCloud? – jpaugh Oct 10 '17 at 19:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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