ZCKDL(1) General Commands Manual ZCKDL(1)

# [NAME](#NAME)

`zckdl` — download a zchunk file

# [SYNOPSIS](#SYNOPSIS)

`zckdl` \[`--fail-no-ranges`] \[`-q` | `--quiet`] \[`-s` `file` | `--source`=`file`] \[`-v` | `--verbose`] `url`

`zckdl` `-`? | `--help` | `--usage` | `--version`

# [DESCRIPTION](#DESCRIPTION)

The `zckdl` utility attempts to download a zchunk file in an optimized way, taking into consideration the chunked structure.

The `zckdl` utility accepts the following optional arguments:

[`--fail-no-ranges`](#fail-no-ranges)

If the server does not support ranges, fail instead of downloading the whole file.

[`-q`](#q) | [`--quiet`](#quiet)

Quiet operation; only display warning and error messages. If specified twice, only display error messages.

[`-s`](#s) | [`--source`](#source)

Specify the file to use as a source with the premise that most of the chunks in the downloaded file will be the same.

[`-v`](#v), `--verbose`

Verbose operation; display some diagnostic output.

`-`?, `--help`

Display program usage information and exit.

[`--usage`](#usage)

Display brief program usage information and exit.

[`--version`](#version)

Display program version information and exit.

# [EXIT STATUS](#EXIT_STATUS)

The `zckdl` utility exits 0 on success, and &gt;0 if an error occurs.

# [EXAMPLES](#EXAMPLES)

Download a zchunk file that is hopefully not much different from the previous version:

`zckdl -s doc1.txt.zck https://example.com/doc2.txt.zck`

# [SEE ALSO](#SEE_ALSO)

[unzck(1)](/man/enterprise-packages/zchunk/unzck.1), [zck(1)](/man/enterprise-packages/zchunk/zck.1), [zck\_delta\_size(1)](/man/enterprise-packages/zchunk/zck_delta_size.1), [zck\_gen\_zdict(1)](/man/enterprise-packages/zchunk/zck_gen_zdict.1), [zck\_read\_header(1)](/man/enterprise-packages/zchunk/zck_read_header.1)

# [AUTHOR](#AUTHOR)

The `zckdl` utility was written by Jonathan Dieter ⟨jdieter@gmail.com⟩. This manual page stub was written by Peter Pentchev ⟨roam@ringlet.net⟩.

May 31, 2020 Linux 4.19.0-gvisor

---

Document: zckdl(1) from zchunk 1.5.5-r0 (Chainguard OS)
Source: https://github.com/zchunk/zchunk.git
