count lines of code in a folder windows code example
Example 1: count lines of code in a folder windows
// For Windows
dir -Recurse *.* | Get-Content | Measure-Object -Line
^
Extension of the files to consider.
Example 2: check lines of code in a folder
find . -name '*.[FileExtention]' | xargs wc -l