Posted By

ef on 06/28/12


Tagged

delete prefix redis


Versions (?)

Redis deleting keys with prefix


 / Published in: Bash
 

Deletes all keys starting with prefix. Inspired by: http://stackoverflow.com/a/4006575

  1. redis-cli keys prefix* | xargs redis-cli DEL

Report this snippet  

You need to login to post a comment.