Skip to content

Instantly share code, notes, and snippets.

@krombel
krombel / clean_synapse_rooms.sh
Created March 28, 2018 12:37
Cleanup script for older messages
#!/bin/bash
# origin: https://github.com/matrix-org/synapse/issues/2964#issuecomment-376869097
logger "$0 started."
HOMEBASE="http://localhost"
ADMIN="@admin:matrix.example.org"
DBNAME="synapse"