Does -O mean rename in wget?

Tapas Mishra mightydreams at gmail.com
Wed Feb 22 13:15:23 UTC 2012


On Wed, Feb 22, 2012 at 6:39 PM, Ashim Kapoor <ashimkapoor at gmail.com> wrote:

> Dear all,
>
> I want to do this :-
>
> wget -O http://www.ex.com/long_filename myfile.zip
>
> Is this the way it is used ?
>
> Many thanks,
> Ashim



>
>  -O may not work as you expect: Wget
>
>            won't just download the first file to file and then download the
>
>            rest to their normal names: all downloaded content will be
>> placed
>
>            in file. This was disabled in version 1.11, but has been
>> reinstated
>
>            (with a warning) in 1.11.2, as there are some cases where this
>
>            behavior can actually have some use.  The documents will not be
>> written
>
>                  to the appropriate files, but all  will be concatenated
together and
                 written to *file.*

>
>
-- 
ॐ साम्ब सदा शिवाय नमः
भूतनाथ जी की जय
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120222/bee04da8/attachment.html>


More information about the ubuntu-users mailing list