[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: wget does not overwrite
From: Denis Vlasenko <vda.linux () googlemail ! com>
Date: 2007-04-28 21:14:02
Message-ID: 200704282314.02409.vda.linux () googlemail ! com
[Download RAW message or body]
On Tuesday 24 April 2007 15:21, Kim B. Heino wrote:
> On my normal Linux system:
>
> "wget http://www.google.com/" writes "index.html". Doing it again writes
> "index.html.1", and so on.
>
> "wget -O index.html http://www.google.com/" writes to "index.html", always.
>
> With BusyBox the result is different:
>
> [root@ysi5 tmp]$ wget http://www.google.com/
> Connecting to www.google.com[209.85.129.99]:80
> index.html 100% |*****************************| 3244
> --:--:-- ETA
> [root@ysi5 tmp]$ wget http://www.google.com/
> Connecting to www.google.com[209.85.129.99]:80
> wget: index.html: File exists
> [root@ysi5 tmp]$ wget -O index.html http://www.google.com/
> Connecting to www.google.com[209.85.129.104]:80
> wget: index.html: File exists
> [root@ysi5 tmp]$
>
> Is this intended behaviour? I'm running (very old) BusyBox 1.3.1, but by
> quickly looking at the latest source, this has not changed. If nobody
> objects changing this, I can write a patch for "-O" to overwrite.
Absolutely, I'd love to see it.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic