Friday, July 17, 2009

csplit - Split a file into sections

csplit -k -f name file.txt 500000 {1000}
This command basically splits files into chunks of file (500000 lines) and repeats 1000 times.
So it will create files name01, name02...

No comments:

Post a Comment