Answers for "count the lines of code in a directory"

4

count lines of code in a folder windows

// For Windows 
dir -Recurse *.* | Get-Content | Measure-Object -Line
			   ^
			   Extension of the files to consider.
Posted by: Guest on May-24-2021
2

check lines of code in a folder

find . -name '*.[FileExtention]' | xargs wc -l
Posted by: Guest on December-08-2020
1

count lines in files

find . -name '*.php' | xargs wc -l
Posted by: Guest on September-08-2020

Code answers related to "count the lines of code in a directory"

Browse Popular Code Answers by Language