Created
June 15, 2017 08:33
-
-
Save milosjanda/1d4041ed22139f93691a7d8df9d83667 to your computer and use it in GitHub Desktop.
CLI command to delete keys with 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 --scan --pattern 'myKeyToSearch*' | xargs redis-cli del |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment