git-gc-all (109B)
1 #!/bin/bash 2 3 set -e 4 5 cd "$HOME/git" 6 for a in *; 7 do 8 cd "$a" 9 nice ionice -c 3 git gc --quiet 10 cd .. 11 done 12