Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rumverse/f66ab198bbae6c49f470a3c287ea9626 to your computer and use it in GitHub Desktop.
Save rumverse/f66ab198bbae6c49f470a3c287ea9626 to your computer and use it in GitHub Desktop.
CTR=0;for i in `find /path/to/your/proj/ -type f | grep -v ".pyc" | grep -v ".git" | grep -v ".DStore" | grep -v ".idea" | grep ".py"`; do LCTR=`wc -l $i| awk '{print $1}'`; CTR=$(($LCTR+$CTR)); echo $CTR; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment