Wget a conf. v akci

Lada vpetr na bigfoot.com
Úterý Srpen 25 19:55:44 CEST 1998


bohuzel kdyz zadam:

C:\>wget -t3 -N -m -d --cache=off cilovysoubor.zip
http://zdroj.dom/zdrojovysoubor.ZIP

tak to stahuje porad dokola!

    Pise to:
Proxy request sent, fetching headers... HTTP/1.1 200 OK
Date: Wed, 26 Aug 1998 02:07:40 GMT
Server: Apache/1.3.0 (Unix)
Last-Modified: Tue, 25 Aug 1998 08:13:49 GMT
ETag: "ba78-af57-35e2723d"
Accept-Ranges: bytes
Content-Length: 44887
Content-Type: application/zip

Tzn. to bezpecne detekuje timestamp..

Prosim poradte..

L.-

-----Původní zpráva-----
Datum: 25. srpna 1998 18:48
Předmět: Re: Wget a conf.


Ja mam Windoze 1.5 verzi (Win32) a nejak jsem si nevsim, ze by to s
parametrem -N fungovalo, nebot mam param. -N zadany a stahuje to porad
dokola... Jeste to zkusim jednou, ale nevim nevim.. Parametr -m tam vubec
nevidim..

L.
__________ dostupne options: ________
Download:
  -t,  --tries=NUMBER           set number of retries to NUMBER (0
unlimits).
  -O   --output-document=FILE   write documents to FILE.
  -nc, --no-clobber             don't clobber existing files.
  -c,  --continue               restart getting an existing file.
       --dot-style=STYLE        set retrieval display style.
  -N,  --timestamping           don't retrieve files if older than local.
  -S,  --server-response        print server response.
       --spider                 don't download anything.
  -T,  --timeout=SECONDS        set the read timeout to SECONDS.
  -w,  --wait=SECONDS           wait SECONDS between retrievals.
  -Y,  --proxy=on/off           turn proxy on or off.
  -Q,  --quota=NUMBER           set retrieval quota to NUMBER.

-----Původní zpráva-----
Od: Peter Kundrat <kundrat na gic.sk>
Komu: Multiple recipients of list <linux na muni.cz>
Datum: 25. srpna 1998 16:21
Předmět: Re: Wget a conf.


>On Tue, Aug 25, 1998 at 02:39:24PM +0200, Lada wrote:
>> Zdravim,
>>
>> nevite nekdo, jak nakonfigurovat Wget tak, aby stahoval pouze soubory
>> NOVEJSI (tedy ne stejne stare), nez jsou ulozeny na cilove ceste?
>>
>> V parametrech ma option pro "nestahovat starsi soubory" ale stahovat
stejne
>> stare je take nanic..
>
>Podla man wget:
>       -N --timestamping
>              Use  the so-called time-stamps to determine whether
>              to retrieve a file. If the  last-modification  date   <
>              of  the remote file is equal to, or older than that   <
>              of local file, and the sizes of  files  are  equal,
>              the  remote file will not be retrieved. This option
>              is useful for  weekly  mirroring  of  HTTP  or  FTP
>              sites,  since it will not permit downloading of the
>              same file twice.
>
>Vyzera to tak, ze to robi presne to co chcete (teda kontroluje este dlzku
navyse).
>
> pk
>
>--
>Peter Kundrat
>kundrat na gic.sk
>





Další informace o konferenci Linux