AWK dividiu um arquivo CSV com base no valor da coluna
awk -F, '{outfile=($1 ".csv") ; print substr($0,index($0,$2)) >>outfile ; close(outfile)}' <name_of_input_file
Enchanting Elephant