redis-cli --scan --pattern "ops-coffee-*" | xargs -L 2000 redis-cli del

其中 xargs -L 指令表示 xargs 一次读取的行数,也就是每次删除的 key 数量,一次读取太多 xargs 会报错