Re: looking for "wget"-like utility with "find"-like search

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

 



On Mon, 6 Dec 2004, Aleksandar Milivojevic wrote:

> Robert P. J. Day wrote:
> [snip]
> >   what would be nice would be to say, go to
> > ftp://sources.redhat.com/pub/gcc, and recursively search for a file
> > with a given name.  if you find it, bring it back.  (even better would
> > be to allow wildcards, so i could say, go get
> > "gcc-3.4.3.{tar.bz2,tar.gz,tgz}".  whichever one you find first, grab
> > it and that will do nicely.
>
> Hmmm...  Have you attempted something like:
>
> wget -r -nd -A gcc-3.4.3.tar.gz ftp://sources.redhat.com/pub/gcc
> wget -r -nd -A gcc-4.0-20041205.tar.bz2 ftp://sources.redhat.com/pub/gcc

dang, that seems to do it.  i never noticed the "-A" option that makes
this work.  thanks loads.

rday


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

  Powered by Linux