批量执行 redis 指令

用于批量导入和修正数据。 (windows type) (linux cat) /xxx/redis_command.txt | redis-cli -h 127.0.0.1 -p 6379 -a 123456 --pipe redis_command.txt 文件指令格式为:每条指令单独一行即可,
posted @ 2021-12-10 18:10  数学与IT  阅读(197)  评论(0编辑  收藏  举报