Re: How to download multiple "numbered" files with wget
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Tue, 27 Nov 2007 03:06:06 -0500
On 2007-11-27, Christian Herenz wrote:
Theo v. Werkhoven wrote:
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
as stated above, this works really well. but i just wondered, how to
make it for files like .../001.htm ... possibly a little more difficult?
for i in $(seq -w 100)
do
curl -O "http://bla.edu/~foouser/$i.html"
done
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- Follow-Ups:
- Re: How to download multiple "numbered" files with wget
- From: Christian Herenz
- Re: How to download multiple "numbered" files with wget
- References:
- How to download multiple "numbered" files with wget
- From: Christian Herenz
- Re: How to download multiple "numbered" files with wget
- From: Theo v. Werkhoven
- Re: How to download multiple "numbered" files with wget
- From: Christian Herenz
- How to download multiple "numbered" files with wget
- Prev by Date: Re: My computer completely crashed
- Next by Date: Re: How to download multiple "numbered" files with wget
- Previous by thread: Re: How to download multiple "numbered" files with wget
- Next by thread: Re: How to download multiple "numbered" files with wget
- Index(es):