How can i find all elements in redis which is empty i have keys like this:
setting:1
setting:2
setting:442
etc
how can i search with redis-cli bash script command if any key contains empty value
Something like redis-cli keys \* | xargs -L 1 redis-cli get
with grep and check if value is empty
found solution
redis-cli KEYS "settings:*" | xargs -L 1 redis-cli get