LinuxCommandLibrary

zsync

Partial differential file downloader over HTTP

TLDR

Download file

$ zsync [path/to/url.zsync]
copy
Use local seed file
$ zsync -i [path/to/existing_file] [path/to/url.zsync]
copy
Save with specific name
$ zsync -i [path/to/existing_file] -o [path/to/new_file] [path/to/url.zsync]
copy
Keep partial download
$ zsync -k [path/to/url.zsync]
copy
Quiet mode
$ zsync -q [path/to/url.zsync]
copy

SYNOPSIS

zsync [OPTIONS] URL

DESCRIPTION

zsync is a partial/differential file downloader. It downloads only the changed parts of files using .zsync control files, similar to rsync but over HTTP.
Useful for updating large files like ISO images when only small parts have changed.

PARAMETERS

-i FILE

Use local file as seed for differential download
-o FILE
Save downloaded file with specified name
-k
Keep partial download files
-q
Quiet mode (no progress)
-u URL
Override URL in .zsync file

CAVEATS

HTTPS not supported - use HTTP URLs only. Requires .zsync control file from server. Server must support range requests.

SEE ALSO

rsync(1), wget(1), curl(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community