Skip to content

Splits a large file into smaller files of specified bytes and also joins them back to the original file.

Notifications You must be signed in to change notification settings

coderarjob/split_join

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File splitter and joiner

The idea of this splitter and joiner came because I had to move a few large files from one computer to another via a shared folder that has much less free space than the size of the files that I wanted to transfer.

This application takes the large file and creates multiple smaller files of the size you specify.

Usage

split [-j | -s -sz <filesize (mb|gb|kb)> source destination

Options:

  • -j : Joins multiple files into one larger file. The path to the 1st split file is specifed in source and the path of the destination file in destination
  • -s : Splits the file specified in the source into many smaller files as one specied in destination.
  • -sz : Size of each split is specied as 100mb. You can use GB, MB, KB with a number to specify size. If only a number is entered bytes is assumed.

Examples:

split Windows.iso -s -sz 700mb splitted/Windows.iso

Splits Windows.iso into multiples files 700MB each inside the splitted directory as Windows.iso.1, Windows.iso.2 and so on.

split -j splitted/Windows.iso.1 Windows.iso

Joins the multiple splitted files into one large file.

Notes:

This was a quick application to program. Feel free to contribute or clone it to make it your own.

About

Splits a large file into smaller files of specified bytes and also joins them back to the original file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages