0

I am using this tutorial to read a CSV file using redis-cli -pipe.

The structure of my csv file is:

0,  col1  ,   col2  ,  col3  ,.......,  col20  
1,11222323, random- , ----ww ,......., text    

and so on

Now, I am running this command:

awk -F, 'NR > 1{ print "SET", "\"Number_"$1"\"", "\""$0"\"" }' redis_csv_number_file_2.csv | src/redis-cli --pipe

Found that that this command isn't working at all. Any reasons why it wouldn't work?

delalli
  • 67
  • 2
  • 11

0 Answers0