Skip to content

Instantly share code, notes, and snippets.

@ExperimentGarden
Created June 3, 2010 13:49
Show Gist options
  • 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