Created
April 16, 2018 05:41
-
-
Save kevin-isky/4bb670834a9fdef8ad05208281dbbc7f to your computer and use it in GitHub Desktop.
macOS下统计代码行数
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 打开macOS的Terminal,统计当前目录下的 src 文件夹中,所有 JS和LESS 文件的代码行数 | |
find ./src "(" -name "*.js" -or -name "*.less" ")" -print | xargs wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment