Re: How to download multiple "numbered" files with wget



Theo v. Werkhoven wrote:
The carbonbased lifeform Christian Herenz inspired alt.os.linux with:
Hi,

I do know not much about the bash, but I know that it is a powerfull
thing. Is there a way how to download multiple files from a http source
of the format:

http://bla.edu/~foouser/1.html
http://bla.edu/~foouser/2.html
...
http://bla.edu/~foouser/100.html

for i in $(seq 100);do curl -O http://bla.edu/~foouser/$i.html;done

Theo

Thank you very much, works as expected :-) I will remember that!
Is there an advantage in using curl instead of wget??

Greets,
Christian

.



Relevant Pages

  • Re: OneFinger - the graphical shell
    ... It is a graphical shell; ... > lets you compose CLI commands with the mouse. ... seems to be a very complex and powerfull tool. ... i.e. bash, but bash is also very powerful and to me its powerfull enough ...
    (comp.os.linux.misc)
  • Re: [SLE] bash command line editing?
    ... > holding down the shift key, and using left and right arrow keys. ... Especially if it fails. ... I don't believe that is the way bash used to ... Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ...
    (SuSE)
  • How to download multiple "numbered" files with wget
    ... I do know not much about the bash, but I know that it is a powerfull thing. ... Is there a way how to download multiple files from a http source of the format: ... I think something like that is possible with the shell, but I just do not know how? ...
    (alt.os.linux)