All apps/split

split

split

Split a file into pieces.

Runs as split|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 5 options
Published once and never changed; check the digest before caching
sha256
82c7519a90d48a20f7a4c7c64c03d30f1d2087b45d18b4747b94e7ff9414d5e8
Size
2203 bytes
OptionsOn split itself
-a
Use suffix_length letters to form the suffix of the file name <suffix_length>
-b
Create split files byte_count bytes in length. If k or K is appended to the number, the file is split into byte_count kilobyte pieces. If m or M is appended to the number, the file is split into byte_count megabyte pieces. If g or G is appended to the number, the file is split into byte_count gigabyte pieces <byte_count>
-d
Use a numeric suffix instead of a alphabetic suffix
-l
Create split files line_count lines in length <line_count>
-p
The file is split whenever an input line matches pattern, which is interpreted as an extended regular expression. The matching line will be the first line of the next output file. This option is incompatible with the -b and -l options <pattern>
ArgumentsPositional, in order
<file>
The file to split · optional · filepaths
<prefix>
Prefix for the names of the files into which the file is split · optional