commit 89ade2d5ba13896923342cfd3176d22fae9e5d5c
parent 5c05bfea88ada72c12225ce934babc928211277b
author: nathanael <nathanael@dalliard.ch>
date: Sun, 19 Oct 2025 08:01:39 +0000
s0: gzip src
diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/s0/dotfiles/bin/src b/s0/dotfiles/bin/src
@@ -4,4 +4,8 @@ for repo in src www; do
cd /var/www/got/$repo/
stagit -l 21 -u "https://src.dalliard.ch/$repo/" "/var/got/p/$repo.git"
done
+find /var/www/got -type f \( -name '*.html' \
+ -o -name '*.xml' \
+ -o -name '*.css' \) \
+ -exec gzip -9fk {} \;
openrsync --rsync-path=openrsync -lrt --del /var/www/got/ s2:/var/www/got/