find . -path .svn -prune -o -name *.php | xargs grep foo
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
find foo in directories, but foo on .svn directories (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Recursively remove all .svn ... in shell svn bash
» Update All of the SVN Versio... in shell svn bash subversion
» Bash script to perform initi... in rails shell svn bash script
» Add all new files to Subversion in awk grep svn bash subversion
» create a rails app from rail... in ruby rails shell svn bash subversion rubyonrails
» sup: bash script for univers... in shell svn bash darcs cvs scm svk arch perforce
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails