Last active
August 2, 2017 09:13
-
-
Save swelham/dda93229b452a6dfe30139e48d55c9c2 to your computer and use it in GitHub Desktop.
Flush redis keys containing value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis-cli EVAL "for i, name in ipairs(redis.call('KEYS', '*SOME_VALUE*')) do redis.call('DEL', name); end" 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment