Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
How do you download a whole distribution at once from an ftp mirror? Ive never used ftp to DL more than 1 file at a time from konsole I tried mget, get as well as using wild cards like this get /slackware/*/*/*/*. Ive been looking for how to's but can't find any that deal with what I'm looking for. I know there is probably a simple solution but I can't find it. Any help?
Eric after giving the wget man page a look would something like this be what I would need?
ftp> wget -i /pub/linux/distributions/slackware/slackware_13.1 -o /home/ftp/slackware_13.1
Don't execute it from the ftp> console but at a normal console level. I imagine you're trying wget on Linux, right? (noticing the Windoze icon). Wget will download the files in the directory where you execute it, so first cd into the directory where you want the files.
Wouldn't I log onto the server and be at the ftp prompt? or would I use this #wget -i /mirrorname/pub/slackware/slacckware_13.1 -o /whateverdir/. Im not trying to do this from windows I'm just on a windows computer right now that will be a slackware computer once I get this usb stick made.
Wouldn't I log onto the server and be at the ftp prompt?
Nope. As Eric said, wget is a command line tool on its own. It takes care of establishing a connection based on the protocol specified in the URL and download files and directories following the specified path. For example, the command:
should download (mirror) recursively the entire slackware directory from the remote server into the current directory.
Another suitable tool is lftp. You can either use it in a single command line or establish a connection and work interactively at a lftp command prompt (maybe you feel more comfortable with this second one). The advantage over the normal ftp client is that it can manage recursive download and mirrors. For example a single command line like this should do the trick:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.