Created
February 3, 2016 03:06
-
-
Save stayradiated/df94b54db67af00bcea0 to your computer and use it in GitHub Desktop.
Find number of lines of code in a folder recursively (excluding tests)
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 . -iname '*.js' -not -path "*/__tests__/*" -exec wc -l {} \; | ag -o \\d+ | paste -sd+ - | bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment