Skip to content

Instantly share code, notes, and snippets.

@justinriggio
Created November 9, 2013 15:08
Show Gist options
  • Save justinriggio/7386405 to your computer and use it in GitHub Desktop.
Save justinriggio/7386405 to your computer and use it in GitHub Desktop.
Count lines in files. Nice to check out how many lines of code you have.
#!/bin/sh
find . -name '*.js' | xargs wc -l
@justinriggio
Copy link
Author

You can change js to whatever you want to check for. Like html, css, less whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment