LINUX: redis-cli remove keys by wildcard
1 2 | #!/bin/bash
redis-cli keys $1 | awk '{print $1}' | xargs --interactive redis-cli del {} \;
|
How to use:
redis-del pattern*
1 2 | #!/bin/bash
redis-cli keys $1 | awk '{print $1}' | xargs --interactive redis-cli del {} \;
|
How to use:
redis-del pattern*
Comments
comments powered by Disqus