1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh for repo in ./*/; do ( cd "$repo" || exit git pull cd - ) > /dev/null 2<&1 & done wait echo "done"