[SOLVED] Need help with downloading from http site (Robby's packages) with file globbing
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need help with downloading from http site (Robby's packages) with file globbing
I've never figured out a good program to use with file globbing from http sites. Wget works with ftp sites and file globbing and for mirroring I use lftp, but I would really like to download just the files that start with "xf" from Robby's site. Any suggestions?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Have you looked at wget? It's installed with Slackware and it's man page describes how to use globbing with it.
Wget globbing doesn't work for http, only ftp. I wound up using wget after I figured out that Robby has a mirror that has ftp access, but I would still like a way to do file globbing downloads from http sites.
For completeness of record: the -I switch tells the mirror command to include only files matching the following glob-string when it mirrors the target directory.
For completeness of record: the -I switch tells the mirror command to include only files matching the following glob-string when it mirrors the target directory.
Yeah, LFTP is pretty cool. the -X switch is helpful too, because it excludes only files matching the glob string when mirroring. So if you wanted everything in Robby's directory except the XFCE stuff, you could use -X xf*.
Wget globbing doesn't work for http, only ftp. I wound up using wget after I figured out that Robby has a mirror that has ftp access, but I would still like a way to do file globbing downloads from http sites.
Apologies. Tiredness made me skip the http and focus on the ftp part of your post. That, and I usually get packages via ftp from Robby and Alien_Bob.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.