I have the file Rprofile.site in /Macintosh HD/Library/Frameworks/R.framework/

Searching 'Rprofile.site' in Spotlight does not find the file, and I have to manually go to the folder containing the file.

I'm on a Mac book pro using 10.8.2

Is there a way I can find the file using Spotlight?

  • Apparently not. There used to be a way to add folders to the Spotlight index using mdimport -f but that feature "has been obsoleted, and does nothing" in 10.5 and later. It is easy to exclude folders from Spotlight's index, but apparently impossible to force Spotlight to include specific folders.
    – TJ Luoma
    Commented May 10, 2013 at 0:30

1 Answer 1


The problem is some folders are intentionally left out from the global spotlight search on the menubar.

For example, /Library and /Users/*/Library, one of the ways to search in these directories is to navigate to these directory in Finder, and search in the Spotlight field in the upper-right corner.

  • Is there any way of choosing which folders are included in spotlight search?
    – luciano
    Commented May 9, 2013 at 15:29
  • By making a Saved Search - which you can then drag to the Finder Sidebar if wanted. Or download the free and excellent EasyFind from DevonTechnologies, which will find anything anywhere.
    – Zo219
    Commented May 10, 2013 at 0:52

You must log in to answer this question.

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