split command for MoonX.
moonx cli/split -l 100 input.txt part-
moonx cli/split -b 1M input.bin chunk-| Option | Description |
|---|---|
| -l VALUE, --lines VALUE | Put this many records in each piece. Default: 1000. |
| -b VALUE, --bytes VALUE | put SIZE bytes in each piece |
| -C VALUE, --line-bytes VALUE | put at most SIZE bytes of records in each piece |
| -n VALUE, --number VALUE | N, K/N, l/N, l/K/N, r/N or r/K/N |
| -a VALUE, --suffix-length VALUE | fixed suffix width; zero selects automatic width |
| --additional-suffix VALUE | append SUFFIX to generated names |
| --help | Show help. |
| --version | Show the version. |