ya its working fine without -i.

On 27 May 2010 22:21, Jitendra kumar <[email protected]> wrote:

> Well,
>    I don't know why the weird characters appeared on your machine. However,
> I was able to download the images. Your script had one problem. The -i
> option for wget is not required in the script. -i option is used to specify
> url source file. But in this case, we are directly specifying the urls.
> Hence, remove the -i option and you should be able to download the images.
>
>  The correct code would be:
>
> for i in $(seq -w 1 18 ); do wget "
> http://img-c.onemanga.com/mangas/00000056/000319672/$i.jpg"; -O
> "HSDK.383x$i.jpg"; done;
>
>
> Regards,
> Jitendra
>
>
> On Thu, May 27, 2010 at 8:52 PM, ♪♫▬aze <[email protected]> wrote:
>
>> what is this "Werid charaters" its screwing my downloads... but echo seems
>> to be find can any one know the solution pls!!!
>>
>> THis is what i did.. .only 1st seq goes fine... something goes stupidly
>> wrong with this stuff....
>>
>> [CODE]
>> rho...@64box:~/383 Anxious Friends$ for i in $(seq -w 1 18 ); do echo
>> wget -i "http://img-c.onemanga.com/mangas/00000056/000319672/$i.jpg"; -O
>> "HSDK.383x$i.jpg"; done;
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/01.jpg -O
>> HSDK.383x01.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/02.jpg -O
>> HSDK.383x02.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/03.jpg -O
>> HSDK.383x03.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/04.jpg -O
>> HSDK.383x04.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/05.jpg -O
>> HSDK.383x05.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/06.jpg -O
>> HSDK.383x06.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/07.jpg -O
>> HSDK.383x07.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/08.jpg -O
>> HSDK.383x08.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/09.jpg -O
>> HSDK.383x09.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/10.jpg -O
>> HSDK.383x10.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/11.jpg -O
>> HSDK.383x11.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/12.jpg -O
>> HSDK.383x12.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/13.jpg -O
>> HSDK.383x13.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/14.jpg -O
>> HSDK.383x14.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/15.jpg -O
>> HSDK.383x15.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/16.jpg -O
>> HSDK.383x16.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/17.jpg -O
>> HSDK.383x17.jpg
>> wget -i http://img-c.onemanga.com/mangas/00000056/000319672/18.jpg -O
>> HSDK.383x18.jpg
>> rho...@64box:~/383 Anxious Friends$ for i in $(seq -w 1 18 ); do wget -i
>> "http://img-c.onemanga.com/mangas/00000056/000319672/$i.jpg"; -O
>> "HSDK.383x$i.jpg"; done;
>> --2010-05-27 20:17:04--
>> http://img-c.onemanga.com/mangas/00000056/000319672/01.jpg
>> Resolving img-c.onemanga.com... 174.37.110.79
>> Connecting to img-c.onemanga.com|174.37.110.79|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 129781 (127K) [image/jpeg]
>>  Saving to: `HSDK.383x01.jpg'
>>
>> 100%[===================================================================================================================>]
>> 129,781     9.02K/s   in 18s
>>
>> 2010-05-27 20:17:28 (7.10 KB/s) - `HSDK.383x01.jpg' saved [129781/129781]
>>
>> HSDK.383x01.jpg: Invalid URL N:d�?���|A��K�� [j�-��� ���dS�7c#�
>> 3�Z��I=+�����: Unsupported scheme `N'
>> HSDK.383x01.jpg: Invalid URL kw:U�iP�����>��: Unsupported scheme `kw'
>> HSDK.383x01.jpg: Invalid URL 3:�n&9,���0��� �s�����!��E Z��: Unsupported
>> scheme `3'
>> --2010-05-27 20:17:28--
>> http://img-c.onemanga.com/mangas/00000056/000319672/����
>> Reusing existing connection to img-c.onemanga.com:80.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-05-27 20:17:29 ERROR 404: Not Found.
>>
>> --2010-05-27 20:17:29--
>> http://img-c.onemanga.com/mangas/00000056/000319672/
>>
>>
>>
>> $.' ",
>> Reusing existing connection to img-c.onemanga.com:80.
>> HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
>> Length: unspecified
>> Saving to: `HSDK.383x01.jpg'
>>
>>     [ <=>
>>                                                ] 166         --.-K/s   in 0s
>>
>>
>> 2010-05-27 20:17:30 (19.5 MB/s) - `HSDK.383x01.jpg' saved [166]
>>
>> --2010-05-27 20:17:30--
>> http://img-c.onemanga.com/mangas/00000056/000319672/��
>> Connecting to img-c.onemanga.com|174.37.110.79|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-05-27 20:17:32 ERROR 404: Not Found.
>>
>> Warning: wildcards not supported in HTTP.
>> --2010-05-27 20:17:32--
>> http://img-c.onemanga.com/mangas/00000056/000319672/%&;'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz���������������������������������������������������������������������������
>> Reusing existing connection to img-c.onemanga.com:80.
>> HTTP request sent, awaiting response... 400 Bad Request
>> 2010-05-27 20:17:33 ERROR 400: Bad Request.
>>
>> --2010-05-27 20:17:33--
>> http://img-c.onemanga.com/mangas/00000056/000319672/��
>> Connecting to img-c.onemanga.com|174.37.110.79|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-05-27 20:17:35 ERROR 404: Not Found.
>>
>> Warning: wildcards not supported in HTTP.
>> --2010-05-27 20:17:35--
>> http://img-c.onemanga.com/mangas/00000056/000319672/ $4�%�
>> &'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz��������������������������������������������������������������������������
>> Reusing existing connection to img-c.onemanga.com:80.
>> HTTP request sent, awaiting response... 400 Bad Request
>> 2010-05-27 20:17:36 ERROR 400: Bad Request.
>>
>> --2010-05-27 20:17:36--
>> http://img-c.onemanga.com/mangas/00000056/000319672/Z(<http://img-c.onemanga.com/mangas/00000056/000319672/Z%28>1�������
>> Connecting to img-c.onemanga.com|174.37.110.79|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2010-05-27 20:17:38 ERROR 404: Not Found.
>>
>> --2010-05-27 20:17:38--
>> http://img-c.onemanga.com/mangas/00000056/000319672/6Ul,��� h�V��Y
>> ��Y�$���@ �z
>> Reusing existing connection to img-c.onemanga.com:80.
>> HTTP request sent, awaiting response... ^C
>>
>> [/CODE]
>>
>> --
>> FOSS Nepal mailing list: [email protected]
>> http://groups.google.com/group/foss-nepal
>> To unsubscribe, e-mail: 
>> [email protected]<foss-nepal%[email protected]>
>>
>> Mailing List Guidelines:
>> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
>> Community website: http://www.fossnepal.org/
>
>
>  --
> FOSS Nepal mailing list: [email protected]
> http://groups.google.com/group/foss-nepal
> To unsubscribe, e-mail: 
> [email protected]<foss-nepal%[email protected]>
>
> Mailing List Guidelines:
> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> Community website: http://www.fossnepal.org/




-- 
シ ZZZZZZzzzzzzzssshhhhh..............

-- 
FOSS Nepal mailing list: [email protected]
http://groups.google.com/group/foss-nepal
To unsubscribe, e-mail: [email protected]

Mailing List Guidelines: 
http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
Community website: http://www.fossnepal.org/

Reply via email to