Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
It already knows, by default, to avoid .git directories. Just kidding :) –  Yar Jun 29 '10 at 0:58
add comment

3 Answers

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.

*.cs;*.vb
share|improve this answer
add comment

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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