Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Script to download a file in multiple parts
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.creole
splitget.sh

README.creole

Description

A multi-part file downloader for Ubuntu / Linux distros supporting Bash v4 (almost all Linux flavours).

Prerequisites

  1. cURL (Comes pre-installed with Ubuntu.)
  2. Perl URI library (Please install liburi from repository.)

Installation

Place splitget.sh in one of the locations specified in $PATH. Easiest way is to place it in $HOME/bin directory.

Usage

$ splitget.sh -i <URL to download> [-o <output filename> -s <approx size of the file> -l <max size of each part in bytes>]

For example,

$ splitget.sh -i http://www.example.com/example.iso -o testing.iso -l 150000000 -s 700000000

Typically size input is not required as it will detect filesize automatically.

Something went wrong with that request. Please try again.