Count source code lines recursively

Since wc itself does not have a recursive option built-in, it’s as simple as:

find . -name '*.php' | xargs wc -l

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *