Deleting Redis Keys by Wildcard
February 1, 2013
I wanted to delete a set of keys from my redis database that matched a wildcard - they all started with app.
. This can be done at the bash prompt with the following command:
$ redis-cli KEYS "app.*" | xargs redis-cli DEL