LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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



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 03:49 AM.

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
Open Source Consulting | Domain Registration