Does -O mean rename in wget?

Ashim Kapoor ashimkapoor at gmail.com
Wed Feb 22 13:22:50 UTC 2012


Would -O work as rename in case of a single file ? That is my question I
guess. If it does not , how do we rename ? Please explain.

Many thanks,
Ashim

On Wed, Feb 22, 2012 at 6:45 PM, Tapas Mishra <mightydreams at gmail.com>wrote:

>
>
> 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.*
>
>>
>>
> --
> ॐ साम्ब सदा शिवाय नमः
> भूतनाथ जी की जय
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20120222/d5386aa2/attachment.html>


More information about the ubuntu-users mailing list