Looking for a professional advice for your Linux system? Please use the form on the right to ask your questions.

Using wget with many files

Getting multiple files with wget command is very easy. Run the wget -r URL command. The -r option is for recursive download. It will download the entire directory. See the sample below:

wget -r http://www.yahoo.com/images/

This example will download all image file inside the /images/ directory of the yahoo.com website.

Downloading files with wget from a password-protected site

In some cases you might need to copy files from a password-protected site. Here's how to do it from your cPanel for example:

wget -r http://username:password@Domain.com/folder