#!/bin/sh # Find all the Git repositories in a directory and scrub them all command -v gscr >/dev/null || exit find "${@:-.}" -name '*.git' -type d -exec gscr {} \;