📜  redis 扫描键和打印值 shell - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:08.136000             🧑  作者: Mango

代码示例1
#From shell
redis-cli --raw keys "KeyPrefix*" | xargs redis-cli GET
# or
redis-cli --scan --pattern "KeyPrefix*" | xargs redis-cli GET