[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] wget from a subfolder of a site
From: |
Dale R. Worley |
Subject: |
Re: [Bug-wget] wget from a subfolder of a site |
Date: |
Tue, 26 Dec 2017 08:35:18 -0500 |
Remember to send the message to the bug-wget mailing list!xo
"ifffam ..." <address@hidden> writes:
> I have tried these two ways:
>
> wget -r --no-parent --include-directories
> http://www.astrosurf.com/luxorion/menu-quantique.htm
>
> wget -r --include-directories
> http://www.astrosurf.com/luxorion/menu-quantique.htm
>
> but I just got an error message (which translated would be 'URL lacking or
> absent')
The manual page gives the format of the --include-directories options as
this:
--include-directories=list
So you have to give the option a list of the directories that will be
included in the download, as well as the URL of the place to start.
The particular command I've used with this option is
wget --include-directories=/assignments \
http://www.iana.org/assignments/index.html
But you will likely have to experiment to discover a command that does
exactly what you want -- the manual page is not very clear about the
options that controll which URLs are excluded from downloading.
Dale