Coder Social home page Coder Social logo

emajofe / split_join Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coderarjob/split_join

0.0 0.0 0.0 7 KB

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

C 95.00% Makefile 5.00%

split_join's Introduction

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.

split_join's People

Contributors

coderarjob avatar emajofe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.