aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/update-all.bat1
-rw-r--r--extensions/update-all.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/extensions/update-all.bat b/extensions/update-all.bat
new file mode 100644
index 00000000..75a17cbe
--- /dev/null
+++ b/extensions/update-all.bat
@@ -0,0 +1 @@
+for /d %%i in (*) do @if exist "%%i\.git" (echo Pulling updates for %%i... & git -C "%%i" pull) \ No newline at end of file
diff --git a/extensions/update-all.sh b/extensions/update-all.sh
new file mode 100644
index 00000000..b00de927
--- /dev/null
+++ b/extensions/update-all.sh
@@ -0,0 +1,3 @@
+ls | while read dir; do if [ -d "$dir/.git" ];
+then echo "Pulling updates for $dir...";
+git -C "$dir" pull; fi; done \ No newline at end of file