#!/bin/sh
#
# fgscr - find all the Git repositories in a directory and scrub them all

# check we have gscr(1d) first
command -v gscr >/dev/null 2>&1 || exit

# look for any dir named .git in the given (default current) dir and run
# gscr(1d) on it
find "${@:-.}" -name '*.git' -type d -exec gscr {} \;
