统计代码行数

find /文件夹名称 -name "*.js(文件类型可以是.py, .php)" |xargs cat|grep -v ^$|wc -l

原文地址:https://www.cnblogs.com/iceman-/p/10435234.html