Hey all,

Writing again about my changes to memcached-tool - never got a reply
to the first message, but here are the highlights:

1) Search
  Added an option to search by key or value
2) Delete
  Added an option to delete by key

This is particularly useful on a production system if you want to
delete a bunch of keys with 'XYZ' in the middle of them:

e.g.:

./memcached-tool localhost search key key XYZ | xargs ./memcached-tool
localhost delete
(searches for keys with XYZ in the midst, outputs key) (pipes the
result to delete them)

The search term is a regex, and you can search by key, by value, and
output keys, or values, or both.

I'm open to suggestions or changes - it's available for review here:

http://github.com/mmucklo/memcached/commit/fcbe16eac853bd3f89ad1c38cc69c5b314d09fd5

Reply via email to