split
QNX SDP8.0Utilities ReferenceUtilities
Copy an input (or stdin) data to a series of outputs (POSIX, toybox)
Syntax:
split [-a suffix_len] [-b bytes] [-l lines] [-n parts] [input [output]]
Runs on:
QNX OS
Options:
- -a suffix_len
- Use the specified suffix_len (default 2).
- -b bytes
- Copy the specified bytes (10, 10kb, 10mb, 10gb...) to each output.
- -l lines
- ("el") Copy the specified lines (default 1000) to each output.
- -n parts
- Create output files with equal amount of parts.
- input
- The pathname of the file to copy.
- output
- The pathname of the output file.
Description:
The split utility copies the input (or stdin) data to a series of output (or x) files with an alphabetically increasing suffix (aa, ab, ac... az, ba, bb... etc.).
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: