for i in $(find * -maxdepth 0 -type d); do echo "==== $i =======" #git -C "$i" status git -C "$i" ls-files -m --exclude-from=.gitignore #echo $? echo echo echo done