Last active
September 30, 2016 20:02
-
-
Save chmelevskij/4f3bd504cbef5ef92e7c1d5b387f9fa0 to your computer and use it in GitHub Desktop.
Dirty line count of the project in bash
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
#!/bin/bash | |
# egrep or grep -e can be used | |
# gollabedit|golang-web|css was stuff to exclude | |
find $(pwd) | egrep -vi '/\.|gollabedit|golang-web|/css/|\.log' | xargs wc -l 2> /dev/null | sed "s|$PWD||" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment