plenum-bot/util/clear_nonpwd.sh

3 lines
164 B
Bash
Raw Normal View History

2024-08-06 22:04:05 +02:00
#!/bin/sh
find . -iname '*.sqlite' -exec sqlite3 '{}' "DELETE FROM kv_store WHERE key NOT LIKE '%-password' AND key NOT LIKE '%-secret' AND key != 'email-to';" ';'