Skip to content

Instantly share code, notes, and snippets.

@vbalazs
Created May 31, 2015 16:57
Show Gist options
  • Save vbalazs/3dc82da8ea1ea807d510 to your computer and use it in GitHub Desktop.
Save vbalazs/3dc82da8ea1ea807d510 to your computer and use it in GitHub Desktop.
Remove redis keys with pattern
redis-cli KEYS "session:*" | xargs -n 100 redis-cli DEL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment