Counting Lines of Code in a Directory Recursively

3 years ago

Counting lines of code in Python files:

find . -name '*.py' | xargs wc -l

It's common so see the expression "lines of code" referenced as LOC.

References

How to count all the lines of code in a directory recursively?