wget -m holt immer wieder absolut die gleiche Datei

Pierre Bernhardt pierre at starcumulus.owl.de
Fri Jul 29 18:32:16 CEST 2005


Hallo,

ich benutze folgende Zeile um alle 10 min meine nixspam-Datei mit der
des heise-servers abzugleichen und ggf. zu aktualisieren.

Jetzt muss ich feststellen, dass wget immer wieder die gleiche Datei
holt, obwohl sie laut cksum sich nicht geändert hat.
Ich dachte immer, das -m vorher den Timestamp prüft und nur ggf. dann
die Datei erneut herunterläd, wenn sich der Timestamp verändert hat?

Habe ich was falsches angenommen?

Hier mal der output, nicht umgebrochen:

pierre at space:~> /usr/bin/wget -S -m --limit-rate=80k -O
~/nixspam/nixspam.cachematches http://www.heise.de/ix/nixspam/nixspam.cache
matches
--18:25:43--  http://www.heise.de/ix/nixspam/nixspam.cachematches
           => `/home/pierre/nixspam/nixspam.cachematches'
Resolving localhost... done.
Connecting to localhost[::1]:8080... failed: Connection refused.
Connecting to localhost[127.0.0.1]:8080... connected.
Proxy request sent, awaiting response...
 1 HTTP/1.0 200 OK
 2 Date: Fri, 29 Jul 2005 16:25:26 GMT
 3 Server: Apache/1.3.29
 4 Vary: Accept-Encoding,User-agent
 5 Last-Modified: Fri, 29 Jul 2005 16:14:01 GMT
 6 ETag: "25d67e-7e78f-42ea55c9"
 7 Accept-Ranges: bytes
 8 Content-Length: 518031
 9 Content-Type: text/plain; charset=iso-8859-1
10 X-Cache: MISS from space.starcumulus.owl.de
11 Proxy-Connection: close

100%[========================================================================================>]
518,031       79.12K/s    ETA 00:00

18:25:50 (79.12 KB/s) - `/home/pierre/nixspam/nixspam.cachematches' saved
[518031/518031]


FINISHED --18:25:50--
Downloaded: 518,031 bytes in 1 files

pierre at space:~> ls -l nixspam/nixspam.cachematches
-rw-r--r--    1 pierre   users      518031 Jul 29 18:14 nixspam/nixspam.cachematches
pierre at space:~> cksum nixspam/nixspam.cachematches
2359335581 518031 nixspam/nixspam.cachematches


Und nochmal:

pierre at space:~> /usr/bin/wget -S -m --limit-rate=80k -O
~/nixspam/nixspam.cachematches http://www.heise.de/ix/nixspam/nixspam.cache
matches
--18:27:11--  http://www.heise.de/ix/nixspam/nixspam.cachematches
           => `/home/pierre/nixspam/nixspam.cachematches'
Resolving localhost... done.
Connecting to localhost[::1]:8080... failed: Connection refused.
Connecting to localhost[127.0.0.1]:8080... connected.
Proxy request sent, awaiting response...
 1 HTTP/1.0 200 OK
 2 Date: Fri, 29 Jul 2005 16:26:54 GMT
 3 Server: Apache/1.3.29
 4 Vary: Accept-Encoding,User-agent
 5 Last-Modified: Fri, 29 Jul 2005 16:14:01 GMT
 6 ETag: "236e72-7e78f-42ea55c9"
 7 Accept-Ranges: bytes
 8 Content-Length: 518031
 9 Content-Type: text/plain; charset=iso-8859-1
10 X-Cache: MISS from space.starcumulus.owl.de
11 Proxy-Connection: close

100%[========================================================================================>]
518,031       78.98K/s    ETA 00:00

18:27:18 (78.98 KB/s) - `/home/pierre/nixspam/nixspam.cachematches' saved
[518031/518031]


FINISHED --18:27:18--
Downloaded: 518,031 bytes in 1 files
pierre at space:~> ls -l nixspam/nixspam.cachematches
-rw-r--r--    1 pierre   users      518031 Jul 29 18:14 nixspam/nixspam.cachematches
pierre at space:~> cksum nixspam/nixspam.cachematches
2359335581 518031 nixspam/nixspam.cachematches
pierre at space:~>


MfG...
Pierre Bernhardt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20050729/75d8e008/attachment.sig>


More information about the Linux mailing list