1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh # * mirrors # Muestra todos los repositorios espejos (mirror) # ssh git@host mirrors set -e # Find all mirrors find *.git -maxdepth 1 -iname config -print0 | \ xargs -0 grep -l 'mirror = true' | \ sed 's,/config$,,'