-   Linux - Software (
-   -   Downloading whole directories (

ivanatora 10-11-2003 09:28 AM

Downloading whole directories
Can I use wget to download whole http directories? What about d4x?

trickykid 10-11-2003 09:34 AM

Sure, you can even use wget to mirror websites....

man wget for all the options and manual pages on it...

david_ross 10-11-2003 09:36 AM

You can use "wget -m" to recursively download a site using page links.

ivanatora 10-12-2003 03:40 AM

So, if I write:
$ wget -m
will it get all files within dir1? If there are subdirs will wget get them too? I can't imagine it is so easy..

david_ross 10-12-2003 08:37 AM

It won;t get all the files since there is no way to get a plain file list sent back from an http server. That is what ftp is for. Using wget with -m will follow the links and download the docuements attached. If you happen to have no index pages and apache generates Indexes then it should copy down all the directories.

All times are GMT -5. The time now is 07:23 AM.