ltcxkg
Last Updated: October 04, 2016
·
5.978K
· 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

28206

Hi Shon M ,

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

over 1 year ago ·