.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH SPLIT "1" "March 2015" "GNU coreutils 8.23" "User Commands" .SH NAME split \- split a file into pieces .SH SYNOPSIS .B split [\fIOPTION\fR]... [\fIINPUT \fR[\fIPREFIX\fR]] .SH DESCRIPTION .\" Add any additional description here .PP Output fixed\-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default size is 1000 lines, and default PREFIX is 'x'. With no INPUT, or when INPUT is \-, read standard input. .PP Mandatory arguments to long options are mandatory for short options too. .TP \fB\-a\fR, \fB\-\-suffix\-length\fR=\fIN\fR generate suffixes of length N (default 2) .TP \fB\-\-additional\-suffix\fR=\fISUFFIX\fR append an additional SUFFIX to file names .TP \fB\-b\fR, \fB\-\-bytes\fR=\fISIZE\fR put SIZE bytes per output file .TP \fB\-C\fR, \fB\-\-line\-bytes\fR=\fISIZE\fR put at most SIZE bytes of lines per output file .TP \fB\-d\fR, \fB\-\-numeric\-suffixes\fR[=\fIFROM\fR] use numeric suffixes instead of alphabetic; FROM changes the start value (default 0) .TP \fB\-e\fR, \fB\-\-elide\-empty\-files\fR do not generate empty output files with '\-n' .TP \fB\-\-filter\fR=\fICOMMAND\fR write to shell COMMAND; file name is $FILE .TP \fB\-l\fR, \fB\-\-lines\fR=\fINUMBER\fR put NUMBER lines per output file .TP \fB\-n\fR, \fB\-\-number\fR=\fICHUNKS\fR generate CHUNKS output files; see explanation below .TP \fB\-u\fR, \fB\-\-unbuffered\fR immediately copy input to output with '\-n r/...' .TP \fB\-\-verbose\fR print a diagnostic just before each output file is opened .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information and exit .PP The SIZE argument is an integer and optional unit (example: 10K is 10*1024). Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000). .PP CHUNKS may be: N split into N files based on size of input K/N output Kth of N to stdout l/N split into N files without splitting lines l/K/N output Kth of N to stdout without splitting lines r/N like 'l' but use round robin distribution r/K/N likewise but only output Kth of N to stdout .SH AUTHOR Written by Torbjorn Granlund and Richard M. Stallman. .SH "REPORTING BUGS" GNU coreutils online help: .br Report split translation bugs to .SH COPYRIGHT Copyright \(co 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" Full documentation at: .br or available locally via: info \(aq(coreutils) split invocation\(aq