diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-14 16:26:33 -0400 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-14 16:26:33 -0400 |
commit | 5071ea1ff373e0bca579047bfba58f498c9f0f70 (patch) | |
tree | a883e39122194065da7a90958d01a4c548bced01 | |
parent | e108265687c9f7fcbac02c5fa967dc471d8b465c (diff) |
add update-timestamps
-rwxr-xr-x | update-timestamps | 9 |
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 |