Skip to content

aplominski/file-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Splitter & Merger

This project consists of two tools:

  1. File Splitter – splits a large file into smaller chunks.
  2. File Merger – merges smaller files back into the original file.

Description

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.

File Splitter

This program splits an input file into smaller pieces of a specified size. Each chunk is saved into a separate file.

Usage

  1. Copy the file you want to split.
  2. Run the program, passing the file path and chunk size in bytes. For example:
./splitter my_large_file.txt 1048576
  1. To unsplit your file, type:
./unsplitter my_large_file.txt
  1. done

COMPILATION

  1. Create build folder, and go to this folder
mkdir build && cd build
  1. Run CMake
cmake .. && make

LICENSE

This project is licensed under the GNU General Public License v3.0.

About

File Splitter & Merger

Resources

Stars

Watchers

Forks

Packages

No packages published