Skip to content

Instantly share code, notes, and snippets.

@fxmontigny
Last active October 25, 2016 08:43
Show Gist options
  • Save fxmontigny/60b5ad33d2ab5efc0b6282f9e14c0e8e to your computer and use it in GitHub Desktop.
Save fxmontigny/60b5ad33d2ab5efc0b6282f9e14c0e8e to your computer and use it in GitHub Desktop.
[SHELL] How to count all the lines of code in a directory recursively
find . -iname "*.ts" -exec grep -vE '^#' {} \; | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment