Tuesday, July 20, 2010

Recursively count lines of code in Linux

( find ./ -name '*.php' -print0 | xargs -0 cat ) | wc -l

No comments: