summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-23 15:08:55 +0300
committerPaul Buetow <paul@buetow.org>2025-09-23 15:08:55 +0300
commitee668cb4d66e147ef6a1067003b25e4a42be8be3 (patch)
tree68c81efd88da79d371d418862b8670afacbc57c1
parentf17fee80f9b3e1fd58245e66d2cc1fc862f9b6ea (diff)
add gather-fooodds
-rw-r--r--.gitignore1
-rw-r--r--Justfile5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 4299dea..4855e9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
stats
out_gmi/
out_html/
+fooodds.log
diff --git a/Justfile b/Justfile
index 6dfff98..dace106 100644
--- a/Justfile
+++ b/Justfile
@@ -24,3 +24,8 @@ reports:
mkdir -p out_gmi out_html
perl foostats.pl --report --stats-dir stats --output-dir out_gmi --html-output-dir out_html
echo "Generated Gemtext in out_gmi and HTML in out_html"
+gather-fooodds:
+ @echo Gathering to fooodds.log
+ (ssh rex@fishfinger.buetow.org '(doas cat /var/log/fooodds; doas zcat /var/log/fooodds.*) | sort -u'; ssh rex@blowfish.buetow.org '( doas cat /var/log/fooodds; doas zcat /var/log/fooodds.0*) | sort -u' ) | grep -F -v 'logfile turned over' | sort -u > fooodds.log
+ wc -l fooodds.log
+ @echo Now check fooodds.log manually and update fooodds.txt accordingly. Any new paths to block?