1 2 3 4 5 6 7 8 9
#!/bin/sh base_dir=$(dirname "$(readlink -f "$0")") find "${base_dir}/work/repositories/git" \ -mindepth 1 \ -maxdepth 1 \ -type d \ -exec git -C {} remote update \;