I have a folder full of my code, what shell script can I use to find out the total amount of lines of code?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
A very simple solution would be If you want something more sophisticated, use sloccount. You can install it e.g. using Homebrew:
Run it on the folder containing the code, like this:
It'll give you lines by programming language and directory. |
|||||
|
|