0.1.1 • Published 6 years ago
mw-downloader v0.1.1
MW-Downloader
Command-line utility for resumable downloads
Install
$ npm install -g mw-downloaderHelp
$ mwd --help
$ mwd url --helpUsage
$ mwd url [options] <url>Basic example:
$ mwd url http://remote-server.com/example.zipThis command creates an "example.zip.mwd" file in the current directory.
When the download is finished, this file is renamed.
Options
| Option | Description | Default 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, 1G | 4Mb |
| --replace | Overwrites the file if it already exists | |
| --no-progress | No progress bar |
Example with options:
$ mwd url --filename custom_name.zip --replace --no-progress http://remote-server.com/large_file.zip