Last Updated: October 04, 2016
·
6.498K
· shonm

Delete all Redis keys matching a pattern

You really don't need print or awk.

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

1 Response
Add your response

Hi Shon M ,

Any idea why i get "ERR wrong number of arguments for 'keys' command" ?

over 1 year ago ·