This command line split file into parts.
> go get github.com/gonejack/splits
- split by parts
> splits -n 2 test.txt
- split by size
> splits -b 100k test.txt
- merge
> cat test.text.* > merged_test.txt
Flags:
-h, --help Show context-sensitive help.
-n, --chunks=3 split into n parts
-b, --size-per-part=STRING split into sized parts
-v, --verbose Verbose printing.
--about About.