Reputation: 15
how to split text or csv file (100 thousand) into csv files (each one contains 10k lines ) based on the lines count ? Using UNIX script.
Upvotes: 1
Views: 1211
Reputation: 49181
Execute this command
split -l 10000 big.csv
split is part of coreutils package so it is widely available
Upvotes: 5