统计代码行数

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

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