Code Monkey home page Code Monkey logo

splitter's Introduction

SPLITTER

-Author: Sebastian Mountaniol -License: GPL -Name: Splitter

Dscription

  • Splitter: splits file(s) into chunks / joins origin file from the chunks.
  • Every chunk may have a different size.
  • Compatible with HJ-Split software (at least in case of splitting to chunks of the same size).
  • It supports large files as well.

Usage

  • Split: splitter -s filename size1 size2 size3 ... sizeN [-r]

  • Join: splitter -j filename.000

  • -r in split command means "repeat". It repeats the chain of sizes from 1 to N (see examples below)

Example of usage

Example 1

  • splitter -s /path/to/file.name 1024m
  • Result: file /path/to/file.name will be split to /path/to/file.name.000 .001 and so on
  • every chunk is 1024 megabytes

Example 2

  • splitter -s /path/to/file.name 1024m 512m 128m

  • Result: file /path/to/file.name will be split to:

  • /path/to/file.name.000 size 1024 Megabytes

  • /path/to/file.name.001 size 512 Megabytes

  • /path/to/file.name.002 size 128 Megabytes

  • /path/to/file.name.003 ... /path/to/file.name.NNN, every file has size 128 Megabytes

Example 3

  • splitter -s /path/to/file.name 1024m 512m 128m -r

  • Result: file /path/to/file.name will be split to:

  • /path/to/file.name.000 size 1024 Megabytes

  • /path/to/file.name.001 size 512 Megabytes

  • /path/to/file.name.002 size 128 Megabytes

  • /path/to/file.name.003 size 1024 Megabytes

  • /path/to/file.name.004 size 512 Megabytes

  • /path/to/file.name.005 size 128 Megabytes

  • ...

  • /path/to/file.name.(NNN -2) size 1024 Megabytes

  • /path/to/file.name.(NNN - 1) size 512 Megabytes

  • /path/to/file.name.NNN size 128 Megabytes

Contact me

splitter's People

Contributors

mountaniol avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.