#!/bin/sh
# * mirrors
#   Muestra todos los repositorios espejos (mirror)
#   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$,,'
