Skip to content

Instantly share code, notes, and snippets.

@timusg
Created May 11, 2013 16:45
Show Gist options
  • Save timusg/5560556 to your computer and use it in GitHub Desktop.
Save timusg/5560556 to your computer and use it in GitHub Desktop.
redis , delete multiple keys matching regex pattern
redis-cli keys "*" | xargs -I {} redis-cli del "{}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment