Created
June 14, 2011 17:55
-
-
Save jessex/1025450 to your computer and use it in GitHub Desktop.
Count all lines of code for java source files in current directory
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
find . -name '*.java' | xargs wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also search in certain directories using:
find foo bar ".java" | xargs wc -l