3
votes

I would like to search files (either all of them or matching a pattern) in a directory and it's subdirectories for a certain string. What I usually do in emacs is find-name-dired to list the files and search them, but that also searches all the .svn directories which is wasteful and makes it really slow for large projects. Is there a way to skip .svn directories?

Thanks,

2

2 Answers

3
votes

Sounds like you should be using grep in emacs. With grep, you can search for strings in files, and if you use this guy's mod grep will ignore .svn directories.

1
votes

I think rgrep ignores .svn outta the box.