List redis keys, filter some of them, then hget on this filtered keys
2013-03-27
− Maxime Biais
1 minute read
$ echo "keys *" | redis-cli | grep user | xargs -I % sh -c "echo hget % name | redis-cli"