Skip to content

Instantly share code, notes, and snippets.

@exce11ent
Last active August 29, 2015 13:59
Show Gist options
  • Save exce11ent/10451375 to your computer and use it in GitHub Desktop.
Save exce11ent/10451375 to your computer and use it in GitHub Desktop.
Print number of lines of code in all source files in current directory and all subdirectories
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" ")" -print0 | xargs -0 wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment