Last active
February 28, 2018 01:57
-
-
Save spyesx/357d251f7b14fb4179ecb5d8b84f4212 to your computer and use it in GitHub Desktop.
Count all the lines of code in a directory recursively
This file contains hidden or 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
# https://explainshell.com/explain?cmd=find+.+-name+%27*.php%27+-o+-name+%27*.twig%27+%7C+xargs+wc+-l | |
find . -name '*.php' -o -name '*.twig' | xargs wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment