[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Timestamping
From: |
Ángel González |
Subject: |
Re: [Bug-wget] Timestamping |
Date: |
Mon, 21 Mar 2011 21:57:16 +0100 |
User-agent: |
Thunderbird |
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?
>
> P.S. My config files(/etc/wgetrc, ~/.wgetrc) are clear.
> P.P.S. Doing "-O- > beameruserguide.pdf" is a dirty way and is not a
> solution of the problem.
wget http://tex.imm.uran.ru/tex/beameruserguide.pdf -O beameruserguide.pdf &&
touch beameruserguide.pdf ?
Why is shell redirection not a solution?