summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Justfile7
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 4855e9d..e544d99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
stats
out_gmi/
out_html/
+tmp_out_gmi/
fooodds.log
diff --git a/Justfile b/Justfile
index 5c66133..4353cb9 100644
--- a/Justfile
+++ b/Justfile
@@ -26,7 +26,12 @@ reports:
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
+ ( \
+ 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?
@echo You could use an LLM to add more suspicious enrtries from the fooodds.log to the fooodds.txt file!