find . -type d -name 'vendor' -prune -o -type f -name '*.php' -print0 | xargs -0 grep "hoge"
Last active
August 27, 2016 11:12
-
-
Save youhey/705742c87b81f767ae1745980dbdee1d to your computer and use it in GitHub Desktop.
vendor を除外して PHP ファイルを grep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment