LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wget -x not working? (https://www.linuxquestions.org/questions/linux-software-2/wget-x-not-working-257038/)

coyote399 11-19-2004 06:30 PM

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?

david_ross 11-20-2004 01:35 PM

I think those options will only take effect when doing recursive downloads.


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