Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-30-2006, 01:23 AM   #1
Registered: May 2006
Posts: 55

Rep: Reputation: 15
Unhappy problem with wget COMMAND

I have to download directories from a site as
let the url :
now, in the peter directory, there are a number of directories starting with the letter a to z and A to Z. eg, abc, add, axl, ptr, pm, phonet, phiew, din, ten tenn.

Now I want to download all the directories in the peter directory that starts with a letter say a or A. Then how to give the command wget to do the above task???
Old 06-30-2006, 01:55 AM   #2
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,845

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
Try curl:

man curl

It does what you want.
Old 06-30-2006, 03:44 AM   #3
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Try using the -I "A*,a*" option.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wget command? cornbeef Slackware 4 01-14-2006 09:08 AM
wget command help munkeevegetable Linux - Newbie 8 11-03-2004 06:37 PM
Wget command options help??? tekhead2 Linux - Software 1 06-23-2004 06:58 AM
wget command juanb Linux - General 5 12-11-2003 03:23 PM
wget command glock19 Linux - General 0 11-29-2001 02:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration