bug-wget
[Top][All Lists]
Advanced

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

Is it possible to get wget --content-disposition to overwrite an existin


From: Mark Sapiro
Subject: Is it possible to get wget --content-disposition to overwrite an existing file.
Date: Sat, 24 Feb 2024 18:40:47 -0800
User-agent: Mozilla Thunderbird

As far as I can tell, the only way to get wget to overwrite an existing file is with the `-O` option, but I want to use `--content-disposition` to write the output to the filename in the Content-Disposition: header. This works, but if the filename already exists it writes to filename.1 instead. Is there a way to get it to overwrite the existing file?

--
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



reply via email to

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