Forked from JeromeParadis/redis_delete_keys_pattern.sh
Created
July 20, 2016 15:13
-
-
Save nightweb/139339c26f47bf943ee4b7110dd719f9 to your computer and use it in GitHub Desktop.
Redis: How delete keys matching a pattern?
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 "prefix:*" | xargs redis-cli DEL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment