Re: file multipli con wget o pavuk
Alberto Bigazzi <albbig@mate.polimi.it> writes:
> l'opzione -A funziona solo con le ESTENSIONI.
>
> ciao
> Alberto
Scusa, ma questo non e' vero. Da wget.info:
`-A ACCLIST'
`--accept ACCLIST'
`accept = ACCLIST'
The argument to `--accept' option is a list of file suffixes or
patterns that Wget will download during recursive retrieval. A
suffix is the ending part of a file, and consists of "normal"
letters, e.g. `gif' or `.jpg'. A matching pattern contains
shell-like wildcards, e.g. `books*' or `zelazny*196[0-9]*'.
So, specifying `wget -A gif,jpg' will make Wget download only the
files ending with `gif' or `jpg', i.e. GIFs and JPEGs. On the
other hand, `wget -A "zelazny*196[0-9]*"' will download only files
beginning with `zelazny' and containing numbers from 1960 to 1969
anywhere within. Look up the manual of your shell for a
description of how pattern matching works.
Of course, any number of suffixes and patterns can be combined into
a comma-separated list, and given as an argument to `-A'.
Ciao
Silvio
Reply to: