Recursively Count the Number of Lines in a File
find . -type f -name '*.' -exec wc -l {} \; | awk '{sum+=$1} END {print sum}'
Comments Off on Recursively Count the Number of Lines in a File
… and pieces
find . -type f -name '*.' -exec wc -l {} \; | awk '{sum+=$1} END {print sum}'
Powered by WordPress