add repos_checker.sh

This commit is contained in:
2024-03-24 18:38:40 +00:00
parent 4a8173cdf7
commit 4f35ffc90b

4
repos_checker.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# script to find all the git repositories in the current directory (& sub-directories) and display their git statuses
find . -name ".git" -type d -not -path "./.cache/*" -not -path "./.local/*" -exec sh -c '(cd {}/../; pwd; git status)' \;