#!/bin/sh for repo in ./*/; do ( cd "$repo" || exit git pull cd - ) > /dev/null 2<&1 & done wait echo "done"