https://github.com/vbsw/fsplit
split one file into many or concatenate them back to one
https://github.com/vbsw/fsplit
combine concatenate file go golang splitter
Last synced: 5 months ago
JSON representation
split one file into many or concatenate them back to one
- Host: GitHub
- URL: https://github.com/vbsw/fsplit
- Owner: vbsw
- License: bsl-1.0
- Created: 2019-07-06T10:00:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T14:35:19.000Z (about 4 years ago)
- Last Synced: 2024-06-20T14:19:32.184Z (about 2 years ago)
- Topics: combine, concatenate, file, go, golang, splitter
- Language: Go
- Homepage:
- Size: 1.95 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fsplit
[](https://pkg.go.dev/github.com/vbsw/fsplit) [](https://goreportcard.com/report/github.com/vbsw/fsplit) [](https://masterminds.github.io/stability/experimental.html)
## About
fsplit splits one file into many or combines them back to one. fsplit is published on and .
## Copyright
Copyright 2019 - 2022, 2025, Vitali Baumtrok (vbsw@mailbox.org).
fsplit is distributed under the Boost Software License, version 1.0. (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
fsplit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Boost Software License for more details.
## Usage
fsplit ( INFO | SPLIT/CONCATENATE )
INFO
-h, --help print this help
-v, --version print version
--copyright print copyright
SPLIT/CONCATENATE
[COMMAND] INPUT-FILE [OUTPUT-FILE]
COMMAND
-p=N split file into N parts (chunks)
-b=N[U] split file into N bytes per chunk, U = unit (k/K, m/M or g/G)
-l=N split file into N lines per chunk
-c concatenate files (INPUT-FILE is only one file, the first one)
## References
- https://golang.org/doc/install
- https://git-scm.com/book/en/v2/Getting-Started-Installing-Git