Skip to content

Instantly share code, notes, and snippets.

@ExperimentGarden
Created June 3, 2010 13:49
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ExperimentGarden/423900 to your computer and use it in GitHub Desktop.
Save ExperimentGarden/423900 to your computer and use it in GitHub Desktop.
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