On 10/3/06, Dan Uscatu wrote:
am tot dat la perete cu wget dar n-am gasit o optiune care sa-mi extraga
DOAR respectivele poze si nimic altceva. timp am, spatiu este, dar mi se
pare total aberant sa car site-ul complet pentru cele citeva sute de
poze.
Cred ca te intereseaza -A
wget --version
GNU Wget 1.10.2
wget --help
[....]
Recursive accept/reject:
-A, --accept=LIST comma-separated list of accepted extensions.
-R, --reject=LIST comma-separated list of rejected extensions.
-D, --domains=LIST comma-separated list of accepted domains.
--exclude-domains=LIST comma-separated list of rejected domains.
--follow-ftp follow FTP links from HTML documents.
--follow-tags=LIST comma-separated list of followed HTML tags.
--ignore-tags=LIST comma-separated list of ignored HTML tags.
-H, --span-hosts go to foreign hosts when recursive.
-L, --relative follow relative links only.
-I, --include-directories=LIST list of allowed directories.
-X, --exclude-directories=LIST list of excluded directories.
din man:
・ You want to download all the GIFs from a directory on an
HTTP server. You tried wget http://www.server.com/dir/*.gif, but that
didn't work because HTTP retrieval
does not support globbing. In that case, use:
wget -r -l1 --no-parent -A.gif http://www.server.com/dir/
More verbose, but the effect is the same. -r -l1 means to
retrieve recursively, with maximum depth of 1. --no-parent means that
references to the parent direc�\
tory are ignored, and -A.gif means to download only the GIF
files. -A "*.gif" would have worked too.
George
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug