标签:cpp find print type targe tmp class code 统计
1. 统计项目代码行数
find . "(" -name "*.cc" -or -name "*.cpp" -or -name "*.h" ")" -print | xargs wc -l
2. find & copy
find <target-dir> -type f -name "<file-pattern>" -exec cp {} /tmp \;
标签:cpp find print type targe tmp class code 统计
原文地址:https://www.cnblogs.com/anhongyu/p/12977570.html