Skip to content

gonejack/splits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

splits

This command line split file into parts.

GitHub go.mod Go version Build GitHub license

Install

> go get github.com/gonejack/splits

Usage

  1. split by parts
> splits -n 2 test.txt
  1. split by size
> splits -b 100k test.txt
  1. 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.

About

This command line split file into parts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages