终端在项目目录下输入:" find . -name "xxx.swift" | xargs wc -l " 回车 转载于:https://www.cnblogs.com/Ganggang888/p/6368325.html