LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wget: Download Folder and Subdir and Files (https://www.linuxquestions.org/questions/linux-networking-3/wget-download-folder-and-subdir-and-files-645348/)

infonlinebr 05-28-2008 10:48 AM

Wget: Download Folder and Subdir and Files
 
I have an address of a site (http.us.debian.org/debian/pool/main/z/) with folders and folders and files within the different inside, and wanted to download it for wget, I found some topics in the forum here but nothing that could not between the folders and download the files

bsdunix 05-28-2008 11:25 AM

Quote:

... but nothing that could not between the folders and download the files
Please explain this better of what you want to do. Are you asking how to separate the files from out of the folders after the're downloaded?

infonlinebr 05-28-2008 12:37 PM

I wanted to download the content that is on the server (http.us.debian.org/debian/pool/main/z/) equal to my server, with the subfolders and files within

bsdunix 05-28-2008 02:40 PM

See if this is what your looking for:
Code:

wget -r -np http://http.us.debian.org/debian/pool/main/z/
or this:
Code:

wget -nH --cut-dirs=3 -r -np http://http.us.debian.org/debian/pool/main/z/
References:
http://www.gnu.org/software/wget/man...2dBased-Limits
http://www.gnu.org/software/wget/man...ectory-Options

infonlinebr 05-28-2008 03:21 PM

Very Very Very Thanks... Perfect!


All times are GMT -5. The time now is 02:00 PM.