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.<br><br>Many thanks,<br>Ashim<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 6:45 PM, Tapas Mishra <span dir="ltr"><<a href="mailto:mightydreams@gmail.com">mightydreams@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 22, 2012 at 6:39 PM, Ashim Kapoor <span dir="ltr"><<a href="mailto:ashimkapoor@gmail.com" target="_blank">ashimkapoor@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br><br>I want to do this :-<br><br>wget -O <a href="http://www.ex.com/long_filename" target="_blank">http://www.ex.com/long_filename</a> myfile.zip <br><br>Is this the way it is used ? <br><br>Many thanks,<br>
<font color="#888888">Ashim</font></blockquote>
<div> </div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-O may not work as you expect: Wget</blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> won't just download the first file to file and then download the</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
rest to their normal names: all downloaded content will be placed</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> in file. This was disabled in version 1.11, but has been reinstated</blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> (with a warning) in 1.11.2, as there are some cases where this</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
behavior can actually have some use. The documents will not be written </blockquote></blockquote><div> to the appropriate files, but all will be concatenated together and </div><div> written to <u>file.</u> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><span style="font-size:14px;line-height:25px">ॐ साम्ब सदा शिवाय नमः </span><div>
<span style="font-size:14px;line-height:25px">भूतनाथ जी की जय </span></div><br>
</font></span><br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br>