If you've used mbostock's gist to pull all the gists you own into a folder, then this ridiculously hackish bit of shell will update them all.
If, unlike me, you actually have git up
working properly, you'll be able to remove the - in
line 6.
If you've used mbostock's gist to pull all the gists you own into a folder, then this ridiculously hackish bit of shell will update them all.
If, unlike me, you actually have git up
working properly, you'll be able to remove the - in
line 6.
#!/bin/bash | |
for var in `ls -l | egrep '^d' | grep -v 'bbprojectd' | sed 's/^.* //'`; | |
do echo "$var"; | |
cd "$var"; | |
echo `git-up`; | |
cd ..; | |
done |