Skip to content

Instantly share code, notes, and snippets.

@KostyaTretyak
Last active March 15, 2024 18:55
Show Gist options
  • Save KostyaTretyak/c641d11f686792e4a72dcdea321b649a to your computer and use it in GitHub Desktop.
Save KostyaTretyak/c641d11f686792e4a72dcdea321b649a to your computer and use it in GitHub Desktop.
Count lines of code in *.ts files
find path/to/directory -name '*.ts' -not -name '*.spec.ts' | xargs wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment