Pedro Vagner

Counting Lines of Code in a Directory Recursively

a year ago
Programming LanguageTutorial

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?