I've started using Agent Ransack to search an entire directory at once looking for a particular string. The only issue I have with it so far is that if I'm searching in a Subversion working copy, it finds the string in the .svn folders, which of course is not what I want. Is there a way to tell it to ignore any directory named .svn as well as any subdirectories of a .svn directory?

  • It already knows, by default, to avoid .git directories. Just kidding :) Jun 29, 2010 at 0:58

5 Answers 5


Apparently you can exclude files now in the free version of Agent Ransack by using the following syntax:

NOT: *.dll; *.svn-base
  • yep - works a treat!
    – Allan Bowe
    Dec 24, 2015 at 9:53

It's not possible in the free version. Your best bet is to make sure you include the file extension and then it'll exclude the svn-base files, e.g.


As snowdude hinted FileLocator Pro (which is the paid version of "Agent Ransack"/"FileLocator Lite" same thing different name If you are willing to upgrade (or like me willing to persuade your boss it's a good investment!) then there is a feature specificity for this under Persistent Search Filter so once set it will always ignore ".svn", ".hg" and ".git"(for Yar!)

So if you have this version (or buy it) then you can click the little filter icon to the right of the "subfolders" tickbox (see this pic) and click "Exclude SVN/HG/GIT/CVS meta data folders" (even shows you the filter it uses so you can update it directly or copy it for other uses).

Hope this helps.


You can use Agent Ransack itself for this task. To avoid specific directories (Ex: C:\Windows), update the field Look in to

C:\; !C:\Windows

!C:\Windows - This part will exclude Windows directory from search criteria.


You can do it, if you turn on the File Name match by Regular Expression in the Tab Options. Then use a expression like .*jsp$, this will exclude all SVN control files of the results.

You must log in to answer this question.

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