From: Oleg Broytman Date: Sun, 3 Aug 2014 23:38:41 +0000 (+0400) Subject: Locate all git repositories X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=92a7fe8c267ba5b43a4ee512fe978c9666da906f;p=git-scripts.git Locate all git repositories --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb834c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +locate-all.list diff --git a/locate-all b/locate-all new file mode 100755 index 0000000..a7837d2 --- /dev/null +++ b/locate-all @@ -0,0 +1,3 @@ +#! /bin/sh +(locate -b \\.git && locate -b *.git) | sort | uniq | + sed 's!/\.git$!!' >locate-all.list