LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with wget COMMAND (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-wget-command-459661/)

Fond_of_Opensource 06-30-2006 01:23 AM

problem with wget COMMAND
 
I have to download directories from a site as
let the url :

http://www.mysite.com/this/that/what/peter
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???

AwesomeMachine 06-30-2006 01:55 AM

Try curl:

man curl

It does what you want.

timmeke 06-30-2006 03:44 AM

Try using the -I "A*,a*" option.


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