I found this useful page for counting lines in projects that I work on.
There are a couple of different techniques there, but I personally use the following:
find . -type f -name '*.php' | xargs wc -l
Count the number of lines across files
Published by Nick Savage
Estimated reading time: 1 min
I found this useful page for counting lines in projects that I work on.
There are a couple of different techniques there, but I personally use the following:
find . -type f -name '*.php' | xargs wc -l