is there a combination search/download utility i can use to both find a given file at a remote repository (using a recursive search), and download that file once i find it? here's the problem. say i want to download the tarball gcc-3.4.3.tar.bz2. now, i happen to know that i can use "wget" as long as i remember that gcc release tarballs live at (in this case, for gcc-3.4.3): ftp://sources.redhat.com/pub/gcc/releases/gcc-3.4.3/gcc-3.4.3.tar.bz2 if i want gcc-3.4.2, same deal -- just change the numbers above. however, say i want a snapshot release, like gcc-4.0-20041204. now *that* would live under: ftp://sources.redhat.com/pub/gcc/snapshots/4.0-20041205/gcc-4.0-20041205.tar.bz2 so i have to remember (and probably encode) the different directory naming convention for snapshots as opposed to releases. and say i choose to switch to another repo. here we go again -- i'd have to figure out the directory naming conventions for *that* repo for "wget" to work. 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. is there a standard utility that can do this? i've poked around variations of ftp, wget and rsync and haven't seen anything that will solve the problem. thoughts? rday