I would like to export a subset of my Redis data on the slave to a csv file. I notice a new csv output option was added to redis-cli but I am unable to find documentation of ho
Go to src redis directory and run the below command
src
./redis-cli $command > $file_name
Exemple: ./redis-cli SMEMBERS "$KEY" > $file_name(RANDOM NAME)
./redis-cli SMEMBERS "$KEY" > $file_name(RANDOM NAME)
this worked for me.