This project consists of two tools:
- File Splitter – splits a large file into smaller chunks.
- File Merger – merges smaller files back into the original file.
These tools are useful when working with very large files that need to be divided into smaller pieces for easier transfer or storage. The first program splits the file into smaller chunks of a specified size, and the second allows you to merge those chunks back into a single file.
This program splits an input file into smaller pieces of a specified size. Each chunk is saved into a separate file.
- Copy the file you want to split.
- Run the program, passing the file path and chunk size in bytes. For example:
./splitter my_large_file.txt 1048576- To unsplit your file, type:
./unsplitter my_large_file.txt- done
- Create build folder, and go to this folder
mkdir build && cd build- Run CMake
cmake .. && makeThis project is licensed under the GNU General Public License v3.0.