[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: несколько вопросов - 2



Pavel wrote:

2)Подскажите как можно wgetом скачать с сайта файлы только с расширением html?

man wget

--zitate

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 recur- sively, with maximum depth of 1. --no-parent means that references to the parent directory are ignored, and -A.gif means to download only the GIF
           files.  -A "*.gif" would have worked too.
--end of zitate




Reply to: