Skip to content

Instantly share code, notes, and snippets.

@cillosis
Created February 7, 2013 21:45
Show Gist options
  • Save cillosis/4734535 to your computer and use it in GitHub Desktop.
Save cillosis/4734535 to your computer and use it in GitHub Desktop.
Count number of lines of code in PHP/PHTML files for a directory while ignoring SVN files.
find . -name '*.ph*' -not \( -name "*svn*" \) | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment