Skip to content

Instantly share code, notes, and snippets.

@hseritt
Created February 25, 2017 12:39
Show Gist options
  • Save hseritt/10899929e8863273fdad99358ff0f2bc to your computer and use it in GitHub Desktop.
Save hseritt/10899929e8863273fdad99358ff0f2bc to your computer and use it in GitHub Desktop.
Get line count of all .py code - Can be changed for any file extension
echo "Lines of code written so far: "
( find ./ -name '*.py' -print0 | xargs -0 cat ) | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment