summaryrefslogtreecommitdiff
path: root/clean-inbox
diff options
context:
space:
mode:
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 } }
+