Se o tamanho dos arquivos zip for significativamente maior que o restante dos dados, você poderá definir --quota=max size of the smallest zipfile
, observe que wget
não parará de baixar se a cota for excedida enquanto estiver baixando um arquivo:
-Q quota
--quota=quota
Specify download quota for automatic
retrievals. The value can be specified in
bytes (default), kilobytes (with k suffix),
or megabytes (with m suffix).
Note that quota will never affect downloading
a single file. So if you specify wget -Q10k
ftp://wuarchive.wustl.edu/ls-lR.gz, all of
the ls-lR.gz will be downloaded. The same
goes even when several URLs are specified on
the command-line. However, quota is
respected when retrieving either recursively,
or from an input file. Thus you may safely
type wget -Q2m -i sites---download will be
aborted when the quota is exceeded.
Setting quota to 0 or to inf unlimits the
download quota.