src_fetch (335B)
1 #!/bin/sh 2 3 find $HOME/src \ 4 -mindepth 1 \ 5 -maxdepth 2 \ 6 -type d \ 7 -not -path '*/warez/*' \ 8 -not -path '*/suit/*' \ 9 -not -path '*/node_modules/*' \ 10 -not -path '*/perl5/*' \ 11 -not -path '*/\.git' \ 12 -exec zsh -c "cd '{}' ; pwd ; \ 13 [ -d .git ] \ 14 && grep '\[remote ' .git/config >/dev/null \ 15 && git fetch -q 2>&1" \;