Find a string in files under Subversion
As a programmer, I’ve been using find to locate string in my source code. Issuing a find would include svn files too which is not my intension. Here’s the command:
$ find . -not -regex '.*svn.*' -exec grep "$1" '{}' \; -print
Leave a comment