This answer doesn't work for me
I run this command to find the number of keys that I want
SCAN 0 MATCH "test_user:*"
so I got a (very long) list of hashes that I want to export to CSV.
I tried
SCAN 0 MATCH "test_user:*" > list.csv
or simply
SCAN 0 MATCH "test_user:*" > list.txt
but always with syntax error response.
Any idea?