Created
November 7, 2016 11:30
-
-
Save hendawy/599d8075943d897c356c7a56520c6b15 to your computer and use it in GitHub Desktop.
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 -h <host> -p <port> -n <db> KEYS "*pattern*" | xargs -L1 -I '$' echo '"$"'| xargs redis-cli -h <host> -p <port> -n <db> DEL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment