diff options
| author | Seth Flynn <[email protected]> | 2021-08-13 07:48:44 -0400 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2021-08-13 07:48:44 -0400 |
| commit | 0f93724f1b5ef2ed1922bdb4a42490dd0544ccf0 (patch) | |
| tree | ff7dd5814e5982e0363428b8c2700c0251a82a3d | |
| parent | fd678fd95fcc98372a90c3f16033f9df29f6a1d9 (diff) | |
add scripts
| -rwxr-xr-x | bin/.local/bin/update-repos | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/.local/bin/update-repos b/bin/.local/bin/update-repos new file mode 100755 index 0000000..cfa5810 --- /dev/null +++ b/bin/.local/bin/update-repos @@ -0,0 +1,7 @@ +#!/bin/sh + +## run this in a directory full of git repos (i usually keep them in ~) +for dir in * +do + cd "$dir" && git pull | sed s/Already/"$dir"\ is\ already/; cd .. +done |
