I\'m trying to import one million lines of redis commands, using the --pipe feature.
--pipe
redis_version:2.8.1
cat file.txt | r
There are existing tools that convert client commands directly to redis wire protocol messages. Example:
redis-mass my-client-script.txt | redis-cli --pipe option
https://golanglibs.com/dig_in/redis-mass https://github.com/almeida/redis-mass