split (Unix)

from Wikipedia, the free encyclopedia

split is a computer program that splits a file into several files of the same size. It is used in Unix and Linux derivatives and their shells . The cat program is used to merge split files .

Example:

$ split -b 5m große.datei kleine.zieldateien-

With this call, the large file is broken down under Linux into small files with a size of 5 megabytes with the names small.target files-aa, -ab, -ac, ... -zz. The options can be varied when called, including the file size of the target files and the enumeration index.

Example of reassembling the files in a directory:

$ cat kleine.zieldateien-* > große.datei