Skip to content

Instantly share code, notes, and snippets.

@govorunov
Created March 5, 2019 23:23
Show Gist options
  • Save govorunov/6492056023cc7a9a0bbe5790682dbacd to your computer and use it in GitHub Desktop.
Save govorunov/6492056023cc7a9a0bbe5790682dbacd to your computer and use it in GitHub Desktop.
#!/bin/bash
# Calculate lines of code in all *.py files excepting folders containig 'site-packages' in names
cat `find -name '*.py' ! -path '*site-packages*'` | wc -l -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment