Skip to content

Instantly share code, notes, and snippets.

@bitjson
Forked from ExperimentGarden/gist:423900
Created May 18, 2012 03:38
Show Gist options
  • Save bitjson/2723014 to your computer and use it in GitHub Desktop.
Save bitjson/2723014 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