Skip to content
/ fsplit Public

split one file into many or concatenate them back to one

License

Notifications You must be signed in to change notification settings

vbsw/fsplit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fsplit

Go Reference Go Report Card Stability: Experimental

About

fsplit splits one file into many or combines them back to one. fsplit is published on https://github.com/vbsw/fsplit and https://gitlab.com/vbsw/fsplit.

Copyright

Copyright 2019 - 2022 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