blob: 800fba825cf5f4ce630c3af46a681e8130bf1f92 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/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$,,'
|