Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/znck/downloader
- Owner: znck
- License: mit
- Created: 2014-11-16T04:34:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-17T19:05:59.000Z (over 8 years ago)
- Last Synced: 2024-05-01T22:33:45.396Z (7 months ago)
- Topics: curl, linux, osx, script, shell
- Language: Shell
- Size: 44.9 KB
- Stars: 14
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Downloader
=========
A simple downloader to download large files.![Downloader](cover.png)
## 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"
```