/ Published in: Bash
Deletes all keys starting with prefix. Inspired by: http://stackoverflow.com/a/4006575
Expand |
Embed | Plain Text
redis-cli keys prefix* | xargs redis-cli DEL
You need to login to post a comment.
Deletes all keys starting with prefix. Inspired by: http://stackoverflow.com/a/4006575
redis-cli keys prefix* | xargs redis-cli DEL
You need to login to post a comment.