ITPub博客

首页 > IT职业 > IT生活 > git 统计vue代码行数

git 统计vue代码行数

IT生活 作者:luckybird 时间:2021-09-09 10:50:42 0 删除 编辑

-name *.css 可以挂文件的后缀名


find . "(" -name "*.css" -or -name "*.js" -or -name "*.scss"  -or -name "*.vue" ")" -print | xargs wc -l

统计单一文件的行数的

find . "(" -name "*.vue" ")" -print | xargs wc -l

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1377/viewspace-2826653/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-15

  • 博文量
    113
  • 访问量
    1391