count lines of code in a directory windows code example Example: check lines of code in a folder find . -name '*.[FileExtention]' | xargs wc -l