Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to find snippets of code in a bunch of velocity files using Spotlight (specifically pages that contain a <html> tag. Spotlight's missing pages that contain that tag that I know are there. Is there a way to escape characters in Spotlight? What are some good alternative search engines for Macs?

I saw this article - - but it doesn't say anything about special characters, like periods or tags.

share|improve this question

If you don't mind using the terminal then you could perform a grep search


grep --recursive "foo" ~/Desktop

This will provide you with a list of files containing the regex "foo".

This will only search in the Desktop folder and any subfolders. Additionally you can use the --line-number option to also get the number of the line which has been matched.

If you just want to find files by filename you could also use the "find" utility.

share|improve this answer

You must log in to answer this question.

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