LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2004, 06:30 PM   #1
coyote399
Member
 
Registered: Feb 2004
Distribution: Debian Sarge
Posts: 30

Rep: Reputation: 15
Wget -x not working?


I am running debian sarge, and the wget from sid (I upgraded in hopes it would be a bug that was fixed)

according to the wget-manual:

`-X list'
`--exclude list'
`exclude_directories = list'
`-X' option is exactly the reverse of `-I'---this is a list of directories excluded from the download. E.g. if you do not want Wget to download things from `/cgi-bin' directory, specify `-X /cgi-bin' on the command line.

yet,

wget --exclude-directories=wiki http://en.wikipedia.org/wiki/Netherlands (and variations, like /wiki/,*wiki*, and others)

as well as -X, will download the file.

am I doing something wrong with the syntax, does exclude directories not mean what I think it means, or is this a bug?
 
Old 11-20-2004, 01:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I think those options will only take effect when doing recursive downloads.
 
  


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
can't wget!! aru_04 Linux - General 5 08-13-2005 05:07 AM
using wget bucovaina78 Linux - Software 3 03-28-2005 07:02 AM
ftp & wget login not working vous Linux - Software 5 02-10-2005 02:22 PM
Wget Help flamesrock Linux - Software 1 08-26-2004 02:35 AM
wget know how ksd Slackware 16 10-19-2003 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:09 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
Open Source Consulting | Domain Registration