find . -type f | xargs wc -l | grep 'total' | awk '{print $1}'
↧
Bash: count all lines in a directory
↧
find . -type f | xargs wc -l | grep 'total' | awk '{print $1}'