批量删除redis的keys

redis-cli -p 6479 -a zD6MovvH6XO4Hfg KEYS "user_center_user_info_*" | xargs redis-cli -p 6479 -a zD6MovvH6XO4Hfg DEL

posted @ 2019-03-05 17:41  ivon168  阅读(169)  评论(0编辑  收藏  举报