Skip to content

Instantly share code, notes, and snippets.

@zenlambda
Created September 12, 2014 09:45
Show Gist options
  • Save zenlambda/859e9e0ba0caf58c2e65 to your computer and use it in GitHub Desktop.
Save zenlambda/859e9e0ba0caf58c2e65 to your computer and use it in GitHub Desktop.

Revisions

  1. zenlambda created this gist Sep 12, 2014.
    2 changes: 2 additions & 0 deletions count_lines.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    #!/bin/bash
    find . -type f -name *.sql -print0 | xargs -0 cat | wc -l