#!/bin/sh # * mirrors # Show all mirrors repositories # ssh git@host mirrors set -e # Find all mirrors find $(find * -name '*.git' -type d) -maxdepth 1 -name config -exec grep -l 'mirror\s*=\s*true' {} + | sed 's,/config$,,'