Skip to content

Instantly share code, notes, and snippets.

@mpdaugherty
Created March 12, 2010 09:59
Show Gist options
  • Save mpdaugherty/330196 to your computer and use it in GitHub Desktop.
Save mpdaugherty/330196 to your computer and use it in GitHub Desktop.
# Only counts the file types listed below. Possible improvements would be to add more
# or add arguments to handle that.
# Only executes in the current directory. Possible improvement - make it an argument
find . | egrep '(\.py)|(\.php)|(\.js)|(\.css)' | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment