summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2021-08-13 07:48:44 -0400
committerSeth Flynn <[email protected]>2021-08-13 07:48:44 -0400
commit0f93724f1b5ef2ed1922bdb4a42490dd0544ccf0 (patch)
treeff7dd5814e5982e0363428b8c2700c0251a82a3d /bin
parentfd678fd95fcc98372a90c3f16033f9df29f6a1d9 (diff)
add scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/.local/bin/update-repos7
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