6 lines
160 B
Bash
Executable file
6 lines
160 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
# Search the posts in the Mastodon database for a string
|
|
|
|
sudo -u mastodon PAGER=less psql -c "select * from statuses where text ilike '%$*%'"
|