[Mac]搜索包含关键字的文件

https://www.jianshu.com/p/522f43ce8535

find ./ -name "*.py" | xargs grep "psycopg2" -l
.//2018/20181121_congestion/git_backlog/huff_model/dynamicpop.py
.//20190722_自動化graph/time/main_thread.py
.//20190722_自動化graph/time/backup_190806/main.py
.//20190722_自動化graph/time/backup_190730/main.py
.//20190722_自動化graph/time/main.py

你可能感兴趣的:(mac,linux)