Name

split - Split a file into pieces

Syntax

split [ -lines ] file [name]

Description

Split reads file and writes it into pieces, as many as necessary, onto a set of output files. The size of each piece is given in lines by the lines argument (or 1000 lines by default). The name of the first output file is name with aa appended, and so on lexicographically. If no output name is given, x is used.

Note

Split refuses to overwrite any existing files.

See Also

add(C), wc(C)