How to delete multiple keys from redis using cli
17 July 2017

Note to self

This is how you delete multiple keys matching a pattern from redis -

redis-cli KEYS "prefix:*" | xargs redis-cli DEL

source