[PLUG] Download All Specified Files From Website

Michael Rasmussen michael at jamhome.us
Fri May 25 01:48:42 UTC 2012


On Thu, May 24, 2012 at 06:35:07PM -0700, Rich Shepard wrote:
>    The Web site with the 32-bit compatibility libraries for Slackware64 has
> several directories each containing numerous files with different
> extensions. I want to recursively download all those with the extension of
> t?z.
> 
>    ncftpget won't accept an http:// URL and wget -r gets all files in every
> subdirectory, including those I don't need, but won't accept wildcards
> (e.g., *.txz)
 
wget <target>
find . -name \*t.z -exec {} /someplace/you/want
rm -rf <top of tree of wget'd files>


-- 
            Michael Rasmussen, Portland Oregon  
      Other Adventures: http://www.jamhome.us/ or http://westy.saunter.us/
Fortune Cookie Fortune du courrier:
The basic currency of the Internet is human ignorance, and, 
frankly, our database holds a strong cash position!
    ~ http://blog.okcupid.com/index.php/the-best-questions-for-first-dates/



More information about the PLUG mailing list