Categorygithub.com/tckz/go-split
repositorypackage
0.0.0-20240515070917-238d8407e39d
Repository: https://github.com/tckz/go-split.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-split

Split text files into parts.

Usage: go-split [options] input-file...
  -compress string
        {gzip|other=without compression}
  -parallelism int
        Maximum number of files which read parallely (default 4)
  -prefix string
        Path prefix of outputs (default "out-")
  -split int
        Number of files that splitted (default 8)
  -verbose
        Verbose output
  -version
        Show version

Development

Requirements

  • Go 1.22
  • GNU Make

Prerequisites

  • Install stringer project locally.
    $ make tools
    

Build

$ make
# -> go-split

License

BSD 2-Clause License

SEE LICENSE

My Environment

  • CentOS Stream 9
  • Go 1.22.1
  • GNU Make 4.3