Hamish wrote:
> Yes, I'm just downloading a single file. I'm not interested in the
> recursive nature of -r, I'm only interested in the overwriting nature
> of it. I want to download the latest version of the file in place and
> have it immediately go live.

<snip>

> So I guess I'd use ` --output-document=- > /path/to/my/file ` instead?
> Is there a better way to avoid the filename.1?

-O/--output-document always overwrites, and never does the "unique name"
thing. It works exactly like a shell redirection would (that is, like
your example just above), except that it does check for pre-existing
files if you specify --no-clobber (and if it exists, it won't bother
contacting the server, it'll just exit with a message).

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to