Last active
July 20, 2019 23:49
-
-
Save azivkovi/7c5e46488cd9f6b1b10f0bfc59a3521d to your computer and use it in GitHub Desktop.
Counts lines of code in folder using powershell
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
(dir -include *.php -recurse | select-string "^(\s*)//" -notMatch | select-string "^(\s*)$" -notMatch).Count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment