lxSplit is a simple tool for splitting files and joining the splitted files on unix-like platforms, such as Linux, OpenBSD, FreeBSD, etc. It is fully compatible with the HJSplit utility which is available for other operating systems. Splitting is done without compression.
lxSplit was originally written by Richard Stellingwerff, and is now being maintained here at its new home.
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.
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.
What's New in This Release: [ read full changelog ]
· split: if the input is not a regular file, give up immediately.
· main: updated the help output (authors, website.)