统计代码行数

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

posted @ 2019-02-26 09:20  iceman!  阅读(251)  评论(1)    收藏  举报