Skip to content

Instantly share code, notes, and snippets.

@pete911
Created February 4, 2013 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pete911/4705922 to your computer and use it in GitHub Desktop.
Save pete911/4705922 to your computer and use it in GitHub Desktop.
counts number of lines recursively in a directory (replace . for directory name if you don't want to search current dir)
find . -type f | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment