[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] limit download size -- 201901233
From: |
Yousong Zhou |
Subject: |
Re: [Bug-wget] limit download size -- 201901233 |
Date: |
Wed, 23 Jan 2019 12:28:39 +0800 |
On Wed, 23 Jan 2019 at 12:06, <address@hidden> wrote:
>
> Hi,
> acording to
> $wget --help
> i should send reports and suggestions to this address, so i hope i'm doing
> right here.
>
> the version of my distribution, given by the above command, is "GNU Wget
> 1.18"
>
> and i don't seem to see an option to limit the retrieval to a certain
> amount of data or a range.
> is it possible?
>
> thanks in advance and happy new year,
>
> Zui
> 201901233
>
Wget has an option "--start-pos ZERO-based-offset". I use "head -c N"
for limiting the download size [1].
[1] mget for downloading pieces of remote file in parallel,
https://github.com/yousong/dconf/blob/master/data/_usr.env/bin/mget#L43
yousong