count lines of files in directory code example
Example 1: check lines of code in a folder
find . -name '*.[FileExtention]' | xargs wc -l
Example 2: count number of lines in directory linux
find . -name '*.php' | xargs wc -l
find . -name '*.[FileExtention]' | xargs wc -l
find . -name '*.php' | xargs wc -l