查看包含git和github的目录有哪些
java
find /opt/ai-git-resources -mindepth 2 -maxdepth 2 -type d \( -name '.git' -o -name '.github' \) -print
执行删除git和gihub的所有git和github目录
java
find /opt/ai-git-resources -mindepth 2 -maxdepth 2 -type d \( -name '.git' -o -name '.github' \) -exec rm -rf {} +