wget lot of files
jludwig
wralphie at comcast.net
Wed Apr 7 00:31:50 UTC 2004
On Tue, 2004-04-06 at 18:03, Jeff Vian wrote:
> 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
I would also be careful of just using *.rpm since you could potentially
get a huge amount of files for all architectures, distros, src, arch,
etc.
--
jludwig <wralphie at comcast.net>
More information about the users
mailing list