3
Using the -c
flag, I can tell wget
to resume a download. wget
will then query the size of the pre-existing file to tell the server from where to resume the download.
Is there a way to tell wget
to start from an arbitrary offset, i.e. an equivalent to curl
's -C
option?
I know that I can always manually create a file with the right size, append the new data to it, and then remove the prefix, but it is very cumbersome to do so.
Which version of
wget
do you have? Mine is GNU wget 1.15 and this option is not mentioned in the man page neither recognized when I try it. – anol – 2015-04-12T03:05:10.310I can't tell you now, I'm no longer at the computer, but it's Debian Jessie's version. – Valmiky Arquissandas – 2015-04-12T03:17:02.407
1
From the wget Wikipedia page, this has been added in version 1.16. Updated your answer to precise it.
– anol – 2015-04-12T03:30:01.717Indeed, Debian Jessie's wget is 1.16. My apologies for not mentioning the version previously, and thank you for the edit! – Valmiky Arquissandas – 2015-04-12T18:23:03.403