1SPLIT(1) User Commands SPLIT(1)
2
3
4
6 split - split a file into pieces
7
9 split [OPTION]... [INPUT [PREFIX]]
10
12 Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default
13 size is 1000 lines, and default PREFIX is `x'. With no INPUT, or when
14 INPUT is -, read standard input.
15
16 Mandatory arguments to long options are mandatory for short options
17 too.
18
19 -a, --suffix-length=N
20 use suffixes of length N (default 2)
21
22 -b, --bytes=SIZE
23 put SIZE bytes per output file
24
25 -C, --line-bytes=SIZE
26 put at most SIZE bytes of lines per output file
27
28 -d, --numeric-suffixes
29 use numeric suffixes instead of alphabetic
30
31 -l, --lines=NUMBER
32 put NUMBER lines per output file
33
34 --verbose
35 print a diagnostic just before each output file is opened
36
37 --help display this help and exit
38
39 --version
40 output version information and exit
41
42 SIZE may be (or may be an integer optionally followed by) one of fol‐
43 lowing: KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T,
44 P, E, Z, Y.
45
47 Written by Torbjorn Granlund and Richard M. Stallman.
48
50 Report split bugs to bug-coreutils@gnu.org
51 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
52 General help using GNU software: <http://www.gnu.org/gethelp/>
53 Report split translation bugs to <http://translationproject.org/team/>
54
56 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
57 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
58 This is free software: you are free to change and redistribute it.
59 There is NO WARRANTY, to the extent permitted by law.
60
62 The full documentation for split is maintained as a Texinfo manual. If
63 the info and split programs are properly installed at your site, the
64 command
65
66 info coreutils 'split invocation'
67
68 should give you access to the complete manual.
69
70
71
72GNU coreutils 8.4 June 2018 SPLIT(1)