[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget



On Mon, May 09, 2005 at 11:32:20AM -0500, bentley rhodes wrote:
> k .. i typed in 'wget http://soso.fake.com/file1.ext
> 
> and it retrieved it.  i read the --help file, and learned that there is 
> a way to recursively search folders too.  but what i can't figure out, 
> is that if there is more than one file i want, like if there is 
> file1.ext through file10.ext, what do i type in to get all those?

Take your pick...

  wget http://soso.fake.com/file{1,2,3,4,5,6,7,8,9,10}.ext

or...

  n=1; while [ $n -le 10 ]; do wget http://soso.fake.com/file$n.ext ; done

TMTOWTDI.

Steve
-- 
steve@silug.org           | Southern Illinois Linux Users Group
(618)398-3000             | See web site for meeting details.
Steven Pritchard          | http://www.silug.org/

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.