Skip to content

Instantly share code, notes, and snippets.

@asauber
Created April 6, 2016 19:11
Show Gist options
  • Save asauber/b597f95dc1bb90d53892fee078b68ef1 to your computer and use it in GitHub Desktop.
Save asauber/b597f95dc1bb90d53892fee078b68ef1 to your computer and use it in GitHub Desktop.
delete all keys from memcache that match a substring
mcinspect delete $(mcinspect list | grep <substring> | awk -F'|' '{ print $4 }')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment