Skip to content

Instantly share code, notes, and snippets.

@shi-yan
Created June 7, 2017 21:03
Show Gist options
  • Save shi-yan/4f9670b0aad49f3cdab635da29b8c67e to your computer and use it in GitHub Desktop.
Save shi-yan/4f9670b0aad49f3cdab635da29b8c67e to your computer and use it in GitHub Desktop.
count line numbers in a folder recursively
find . -name '*.h' -o -name '*.cpp' | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment