Here’s a handy little shell script for counting lines of code (recursively in all directories beneath the current directory) based on the type of file:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . \( -name '*.py' -o -name '*.coffee' -o -name '*.scss' \) | xargs wc -l |