Results 1 to 3 of 3
Hello all I am new to this board have to say nice site you guys have here. I'm a newbie when it comes to linux but right now I am ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-20-2008 #1Just Joined!
- Join Date
- Sep 2008
- Location
- Michigan,USA
- Posts
- 2
Using wget to download contents of entire ftp directory?
Hello all I am new to this board have to say nice site you guys have here. I'm a newbie when it comes to linux but right now I am building a LFS so I can learn more about the inner workings of linux and create a custom build to suit my needs. Which brings me to the question I have for you. I'm trying to get the package sources I need from the ftp server but there are too many files to download them individually. Is there a way to download the entire contents of a directory using wget? If so what commands do I use to achieve this? Here is the directory I need to download: http://ftp.osuosl.org/pub/lfs/lfs-packages/6.3/
Also is wget the best program to use for this purpose or is there another program that works better? -Thanks for your time
- 09-22-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
wget -r is what you need.
But to download everything might not be necessary I guess. If you have a list that you can save on a plain text file, you can use -i to download all the files in the list
- 09-24-2008 #3Just Joined!
- Join Date
- Sep 2008
- Location
- Michigan,USA
- Posts
- 2
ok thank you I will give that a try.


Reply With Quote
