I'm trying to find a way to count the total number of lines in all of the source files of a project I have. I've tried piping dir -r -name
into measure-object -line
, but that just counts the number of files I have.
Does anyone have a script to do this?