Skip to content

Instantly share code, notes, and snippets.

@bonyiii
Created July 31, 2012 13:57
Show Gist options
  • Save bonyiii/3217229 to your computer and use it in GitHub Desktop.
Save bonyiii/3217229 to your computer and use it in GitHub Desktop.
find without .svn dirs
# http://stackoverflow.com/questions/2314643/how-can-i-get-find-to-ignore-svn-directories
find . -path '*/.svn' -prune -o -type f -print0 | xargs -0 grep 'subscribe'
find . | grep -v \.svn
# or maybe
ack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment