Spilt and Join file with LXSplit


Some times we need to split files into smaller chunk to redistrubute them easily. There are so many utilities to do this task in windows but for linux you can use LXSplit.

To install LXSplit via apt run,

apt-get install lxsplit

To install LXSplit via yum run,

yum install lxsplit

Using LXSplit is very simple to split a file, do

lxsplit -s file_to_split split_size

For eg. I have 700MB file and want to split it into 100MB parts then I will run,

lxsplit -s file_to_split 100M

To join a file just run,

lxsplit -j split_file_part

Subscribe / Share

Article by Vidyadhar

My name is Vidyadhar Sarmalkar & I work as a consultant and have done RHCE & CCNA.
Vidyadhar tagged this post with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Read 272 articles by

Leave a Reply

rss twitter facbook

Categories

Archives