redis can find the keys of the specified pattern:
redis-cli -h [host] -p [port] -n [db] KEYS "pattern"
But how to delete the keys of a specific pattern during the delete operation?
欧阳克2017-06-29 10:11:05
Delete keys of a specific pattern in batches under Redis
redis-cli -h [host] -p [port] -n [db] KEYS "pattern" | xargs redis-cli -h [host] -p [port] -n [db] DEL