summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-10-14 16:26:33 -0400
committerRaghuram Subramani <raghus2247@gmail.com>2025-10-14 16:26:33 -0400
commit5071ea1ff373e0bca579047bfba58f498c9f0f70 (patch)
treea883e39122194065da7a90958d01a4c548bced01
parente108265687c9f7fcbac02c5fa967dc471d8b465c (diff)
add update-timestamps
-rwxr-xr-xupdate-timestamps9
1 files changed, 9 insertions, 0 deletions
diff --git a/update-timestamps b/update-timestamps
new file mode 100755
index 0000000..34ec6a2
--- /dev/null
+++ b/update-timestamps
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+REPOSITORIES=$(find /home/git/* -name '*.git' -type d)
+
+for repo in $REPOSITORIES; do
+ cd $repo
+ mkdir -p info/web
+ echo $(git log -1 --date=iso --format=%ci) > info/web/last-modified
+done