There are many online about bulk delete command, for example, we want to remove that begin with the key KEY. When 127.0.0.1:6379 linux system when displayed, using the following command
redis-cli -h 192.168.1.1 -p 6379 -a yourpassword keys "keys *" | xargs redis-cli del findings do not work.
Need to exit redis, enter the following command from linux root directory:
/usr/redis/bin/redis-cli -h 192.168.1.1 -p 6379 -a yourpassword keys "keys*" | xargs redis-cli -h 192.168.1.70 -p 6779 -a yourpassword del
More emphasis redis-cli installation directory / usr / redis / bin / redis-cli