On 6/17/05, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> > I am giving the first steps with wget and I would like to know
> > whether it is possible to get a list of the files that wget will
> > download before downloading them.
> 
> Unfortunately not.  Something like this is likely to be added in a
> future release.
> 
> Although the usefulness of such a feature, at least with HTML, would
> likely not be optimal.  To know what you need to download you need to
> actually download all of the HTML, which can be a non-negligible
> percentage of the site's contents.

Thanks, Hrvoje. That feature would be useful. For instance, I am
trying to download all the pdf files from some site with:

wget -r --no-parent --no-directories --limit-rate=20k -l1 --accept
*.pdf http://www.somesite.com

and I think that to get the list of files to download would be very
helpful, because it may be a huge list, containing unwanted pdf files.
I suspect that it would be easy to implement (although I am not a
programmer), since it would suffice to run wget and register each file
name as wget runs, but, obviously, without downloading anything.

Paul

Reply via email to