0.1.1 • Published 5 years ago

mw-downloader v0.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

MW-Downloader

Command-line utility for resumable downloads

Install

$ npm install -g mw-downloader

Help

$ mwd --help
$ mwd url --help

Usage

$ mwd url [options] <url>

Basic example:

$ mwd url http://remote-server.com/example.zip

This command creates an "example.zip.mwd" file in the current directory.

When the download is finished, this file is renamed.

Options

OptionDescriptionDefault value
--filename <filename>Sets the name for the downloaded file<URL file name>
--block-size <size>Size of each chunk of data to be downloaded. Examples: 512 (512 bytes), 4KB (4096 bytes, same as 4k, 4K, 4kB, 4096b, etc.), 2Mb, 1G4Mb
--replaceOverwrites the file if it already exists
--no-progressNo progress bar

Example with options:

$ mwd url --filename custom_name.zip --replace --no-progress http://remote-server.com/large_file.zip