Skip to content

Instantly share code, notes, and snippets.

@bitjson
Forked from ExperimentGarden/gist:423900
Created May 18, 2012 03:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
find . -type f -name '*.php' -exec awk 'END {print NR}' '{}' + 2>/dev/null | awk '{ total+=$1 }END{print total}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment