summaryrefslogtreecommitdiff
path: root/clean-inbox
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-09-09 16:02:50 +0200
committerpdp8 <pdp8@pdp8.info>2023-09-09 16:02:50 +0200
commit3a87028b34c969744f6c63ba73947cfa32156e7d (patch)
tree67b46c322a13b5c3c51c0309d71fe6241876a880 /clean-inbox
parent9ecb046ed70c9431f97eab1d761aa9fb22f8f73c (diff)
update and clean-inbox added, no outbox send for delete, recursive create for objects with activities (lemmy)
Diffstat (limited to 'clean-inbox')
-rwxr-xr-xclean-inbox3
1 files changed, 3 insertions, 0 deletions
diff --git a/clean-inbox b/clean-inbox
new file mode 100755
index 0000000..b623890
--- /dev/null
+++ b/clean-inbox
@@ -0,0 +1,3 @@
+#!/usr/bin/env nu
+[create announce undo delete like update move] | each { |a| glob $'/srv/social/inbox/($a)/*.json' | each {|f| rm $f } }
+