Monday, February 27, 2012

lxsplit : split and join files

lxSplit is a simple tool for splitting files and joining the splitted files on unix-like platforms, such as Linux, FreeBSD, OpenBSD, etc.

lxSplit splits and merges files with the -s and -j flags respectively. Starting with version 0.2.1, lxSplit can handle large files (>= 4 GB) both when splitting and joining.

It can be installed from the ubuntu software centre.

Usage:
To split a big file into smaller pieces of 15 MB each, run the following command:
lxsplit -s hugefile.bin 15M
Output size can be given in (M)egabytes, (k)ilobytes and (b)ytes.

To merge (join) the already split pieces into the original big file, run this command:
 lxsplit -j smallfiles.bin.001
All resulting files (from either splitting or joining) will be placed in the current directory.

The official location of this document: http://lxsplit.sourceforge.net/