pokitpeng / filesplitter

split and merge file tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filesplitter

split and merge file tool

features

  • split file
  • merge file

Build

go build -o fs main.go

Usage

# split big file, /home/src.log --> /home/tiny.log*
./fs split -s 50M /home/src.log /home/tiny.log 

# merge files, /home/tiny.log* --> /home/dst.log
./fs merge -p /home/tiny.log /home/dst.log

# check file
md5sum /home/src.log
md5sum /home/dst.log

About

split and merge file tool

License:MIT License


Languages

Language:Go 100.0%