Created
July 13, 2015 14:47
-
-
Save laszlomiklosik/f1a65882354f438f7041 to your computer and use it in GitHub Desktop.
Linux find file recursively by content
This file contains hidden or 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
# for example | |
find . -type f -name '*.java' -print0 | xargs -0 grep -l 'implements MyInterface' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment