-C, --line-bytes
Put at most SIZE bytes of records per output file.
An option of splitx.
Usage
splitx -C SIZE [FILE [PREFIX]]
splitx --line-bytes=SIZE [FILE [PREFIX]]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-C | --line-bytes | SIZE | put at most SIZE bytes of records per output file |
Examples
Send a log in email-sized pieces of at most 5 MB, keeping lines whole
splitx -C 5M app.log app.log.Help in the terminal
gnux help splitx --line-bytes