I have .csv file with over 1000 rows that contains on each row a number ie, "2224441214" that is the only value on the row. I need to break that file up into a .csv file named "2224441214.csv" for each row.
ie, "2224441214.csv" "22655443.csv" "2222211564.csv"
21 Answer
It can be done with below awk command,
awk '{print > $0".csv"}' infile.csvThis will create multi .csv files named with numbers read from infile.csv
0