[READ-ONLY] Mirror of https://github.com/mrgnw/scripts.
0

Configure Feed

Select the types of activity you want to include in your feed.

scripts / gitfetchall
333 B 6 lines
1#!/bin/zsh 2 3find . -mindepth 1 -maxdepth 1 -type d -exec test -d "{}/.git" \; -print | parallel -j 0 'echo "Fetching in {}" && git -C {} fetch' 4 5# mprocs version doesn't work yet 6# find . -mindepth 1 -maxdepth 1 -type d -exec test -d "{}/.git" \; -print | awk '{print "echo Fetching in "$1" && git -C "$1" fetch"}' | xargs mprocs --