Home > SPO > Bash: count all lines in a directory

Bash: count all lines in a directory

November 15th, 2009 Leave a comment Go to comments
CODE:
  1. find . -type f | xargs wc -l | grep 'total' | awk '{print $1}'

Categories: SPO Tags:
  1. No comments yet.
  1. No trackbacks yet.

0 pages viewed, 0 today
0 visits, 0 today
FireStats icon Powered by FireStats