zeek/testing/external/scripts/find-git-repos

8 lines
172 B
Bash
Executable file

#! /usr/bin/env bash
#
# Returns a list of git repositories found in subdirs of the
# current directory.
for i in `find . -type d`; do
test -e $i/.git && echo $i
done