Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/znck/downloader

A simple downloader to download large files.
https://github.com/znck/downloader

curl linux osx script shell

Last synced: 2 days ago
JSON representation

A simple downloader to download large files.

Awesome Lists containing this project

README

        

Downloader
=========
A simple downloader to download large files.

![Downloader](cover.png)



Software License


Latest Version


Issues

## How to install?

Run this in your terminal to get the latest Downloader version:
```bash
curl -sS https://raw.githubusercontent.com/znck/downloader/master/install.sh | sudo -E bash
```

## How to use?

Downloader has simple command line interface.

```bash
downloader [] []
```

Default chunk size is 128mb but you can change it by a line to your `.bashrc` file

```bash
echo "export downloader_chunk_size=10" > "$HOME/.bashrc" # This will set chunk size to 10mb.
```
Default output directory is `~/Downloads` and you change this too.

```bash
echo "export downloader_output_dir=$HOME/Documents" > "$HOME/.bashrc"
```

## Proxy settings
Downloader uses cURL to fetch chunks and cURL respects environment proxy variables.

```bash
echo "export http_proxy=http://:" > "$HOME/.bashrc"
echo "export https_proxy=https://:" > "$HOME/.bashrc"

# For authenticated proxies
echo "export http_proxy=http://:@:" > "$HOME/.bashrc"
echo "export https_proxy=https://:@:" > "$HOME/.bashrc"
```