Skip to content

Instantly share code, notes, and snippets.

@MoathOthman
Created March 3, 2015 07:24
Show Gist options
  • Save MoathOthman/b7b25f43220af52c4284 to your computer and use it in GitHub Desktop.
Save MoathOthman/b7b25f43220af52c4284 to your computer and use it in GitHub Desktop.
GET Number Of Lines of each file in a directory
find . -type f | xargs wc -l
For specific file extension
find . -name '*.m' | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment