Re: wget lot of files

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

 





Alexander Dalloz wrote:

Am Di, den 06.04.2004 schrieb Jeff Vian um 22:51:



To your 'problem': wget ftp://server_address/path/dir/*.rpm

See "man wget" and "wget --help".



And to get the entire directory tree from a single point use
# wget -r ftp://server_address/path/dir



Jeff, that is certainly right. I only was careful not to mention the "-r" switch :) It is advised to use the "-l" switch in combination with "-r".

My answer was especial for an FTP server source and will not fit for
HTTP servers.



I agree, but for ftp you only have the depth of the filesystem structure to consider. This is useful, for example, when mirroring a site. I use it this way regularly and with a careful look at the amount to be downloaded it works well.

With http you most certainly would want the "-l" option to prevent an enourmous tree spanning (potentially) the entire internet since recursion on a web page would follow ALL links.


Jeff



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux