Created
January 8, 2014 08:41
-
-
Save anscii/8313678 to your computer and use it in GitHub Desktop.
Find all *.php files containing table_name AND any of words "insert|update|delete".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep --include="*.php" -l -R table_name . | xargs egrep -l -i "insert|update|delete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment