bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Timestamping


From: Micah Cowan
Subject: Re: [Bug-wget] Timestamping
Date: Mon, 21 Mar 2011 14:01:19 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

(03/21/2011 10:39 AM), Alexander Chernyavsky wrote:
> Hello,
> 
> I'm doing wget http://tex.imm.uran.ru/tex/beameruserguide.pdf -O
> beameruserguide.pdf. Download completes and ls -l shows that file is
> dated as 2005-10-23 20:48. Date command shows Mon Mar 21 20:37:56 MSK
> 2011.
> 
> I'm reading in manual:
>> For this reason, -N (for timestamp-checking) is not supported in
>> combination with -O: since file is always newly created, it will always
>> have a very new timestamp.
> But in my case file has an old timestamp. I'm using -O and timestamping
> still works. Moreover, even without -N it continues to work. How can I
> turn off timestamping?

You're a bit confused. -N doesn't work with -O: -N is used to _check_
timestamps, not store them.

Current releases of wget do not provide a way to refrain from changing
the downloaded file's timestamps to match the server's. However, this
feature is implemented in the current development version of wget, so
should be present in the next release (it's currently named
"--no-use-server-timestamps").

-- 
Micah J. Cowan
http://micah.cowan.name/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]