From 0f93724f1b5ef2ed1922bdb4a42490dd0544ccf0 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Fri, 13 Aug 2021 07:48:44 -0400 Subject: add scripts --- bin/.local/bin/update-repos | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/.local/bin/update-repos 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 -- cgit v1.2.3