Created
December 4, 2014 20:03
-
-
Save gwintrob/6abc086b2425f3a8d5c8 to your computer and use it in GitHub Desktop.
Delete redis keys with unmatched single quotes
This file contains hidden or 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 KEYS 'icc*' | xargs -d '\n' redis-cli DEL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesn't work on OSX. Use this instead