LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-30-2006, 01:23 AM   #1
Fond_of_Opensource
Member
 
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 :

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???
 
Old 06-30-2006, 01:55 AM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,031

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
Try curl:

man curl

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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 PM.

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